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
Description
Catch2 assertion macros with compacted structs seem to expand the contents instead of just evaluating the truthiness of the overall statement. The statement needs to be wrapped with parentheses in order for the assertion macro to properly align the attributes of a compacted struct. This issue only occurs with the Xtensa compiler(clang++ and g++ compiled catch executable passed).
Description
Catch2 assertion macros with compacted structs seem to expand the contents instead of just evaluating the truthiness of the overall statement. The statement needs to be wrapped with parentheses in order for the assertion macro to properly align the attributes of a compacted struct. This issue only occurs with the Xtensa compiler(clang++ and g++ compiled catch executable passed).
Example:
Expected behavior
In the example above, I would expect this line to pass, but instead, it's misaligned.
Platform information:
The text was updated successfully, but these errors were encountered: