You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[936/1195] Building CXX object tests/vector_operators/CMakeFiles/test_vector_operators_objects.dir/vector_operators_bool.cpp.o
tests/vector_operators/vector_operators_bool.cpp:732:40: warning: converting the result of '<<' to a boolean; did you mean '(static_cast<_Bool>(1) << static_cast<_Bool>(2)) != 0'? [-Wint-in-bool-context]
732 | resArr[i] = static_cast<bool>(1) << static_cast<bool>(2);
| ^
tests/vector_operators/vector_operators_bool.cpp:836:40: warning: converting the result of '<<' to a boolean; did you mean '(static_cast<_Bool>(1) << static_cast<_Bool>(2)) != 0'? [-Wint-in-bool-context]
836 | resArr[i] = static_cast<bool>(1) << static_cast<bool>(2);
| ^
tests/vector_operators/vector_operators_bool.cpp:976:19: warning: bitwise negation of a boolean expression always evaluates to 'true'; did you mean logical negation? [-Wbool-operation]
976 | resArr[i] = ~static_cast<bool>(1);
| ^~~~~~~~~~~~~~~~~~~~~
| !
The text was updated successfully, but these errors were encountered:
Can't insert a nice source code snippet in here, because source code is generated. Generator can be found here:
tests/vector_operators/generate_vector_operators.py
Build log:
The text was updated successfully, but these errors were encountered: