-
Notifications
You must be signed in to change notification settings - Fork 44
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
clang: warning about operator<< precedence #27
Comments
...and defeats the expression decomposition... See also:
I'm following this discussion and see what comes out of it. I might try to change
|
Ah, it appears I didn't fully understand the intention of the code. Ignoring the warning may be a better solution in this case if the behaviour is intended. |
As an aside: For some time
|
Keeping this open to remind myself about this ongoing discussion with Catch. |
Compiling tests that use lest under clang++ (3.7) yields warnings for each EXPECT such as the following:
The warning is talking about this line in lest.hpp:
Adding extra parenthesis prevents this warning, and a potentially catastrophic evaluation order mess:
The text was updated successfully, but these errors were encountered: