[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 22 10:51:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jeffrey Walton from comment #13)
> This issued caused Crypto++ to remove -Wall (and above) under GCC.

That seems to be throwing the baby out with the bathwater. Why not simply use

 -Wall -Wno-unused-value -Wno-unused-variable

?



More information about the Gcc-bugs mailing list