[Bug c++/94745] No error emitted for unknown -Wno-meow argument

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 24 13:36:03 GMT 2020


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Louis Dionne from comment #0)
> This makes detecting whether GCC supports a given warning flag very
> challenging in build systems.

You're doing it wrong then.

Try 'g++ -Q --help=warnings' instead of probing individual options.


More information about the Gcc-bugs mailing list