Skip to content
Snippets Groups Projects
Verified Commit 21d1f813 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

examples: disable clang op precedence warnings

This is already being done for GCC et al.
parent ce728a87
No related branches found
No related tags found
1 merge request!50examples: disable clang op precedence warnings
Pipeline #6408 passed
......@@ -44,6 +44,10 @@
# if __GNUC_PREREQ(4,2)
# pragma GCC diagnostic ignored "-Wparentheses"
# endif
/*Et tu, clang.*/
# if defined(__clang__)
# pragma clang diagnostic ignored "-Wparentheses"
# endif
/*Some assembly constructs require aligned operands.
The following macros are _only_ intended for structure member declarations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment