-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make fails with .... #52
Comments
/cc @bensander @nhaustov |
atamazov
added a commit
that referenced
this issue
Aug 30, 2018
Multiplication has higher precedence than ternary operator. So `a[0] * numElems` is computed first and used as the 1st operand of `?:`. This seems semantically wrong and also causes the warning (because the 1st operand of `?:` has boolean context). Parntheses around "a[0]" are not actually required, but with these the code looks clearer to me.
@Brane2 Please get latest master and check if it works fine now. |
I'm confirming that this issue has been resolved by #53. (I didn't verify the code changes in detail.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
error: ‘*’ in boolean context, suggest ‘&&’ instead [-Werror=int-in-bool-context]
How dead is this project anyway ?
The text was updated successfully, but these errors were encountered: