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.

Reply via email to