Add comment explaining why we leak -Wparentheses under g++
This commit is contained in:
1 parent
b55424d3b2
commit
ff2b3c85a7
1 file changed
+3
@@ -16,6 +16,9 @@
|
||||
# pragma clang diagnostic ignored "-Wcovered-switch-default"
|
||||
# endif
|
||||
#elif defined __GNUC__
|
||||
// GCC likes to warn on REQUIREs, and we cannot suppress them
|
||||
// locally because g++'s support for _Pragma is lacking in older,
|
||||
// still supported, versions
|
||||
# pragma GCC diagnostic ignored "-Wparentheses"
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
|
||||
Reference in new issue
Block a user