[Bug c/63499] gcc treats unknown -Wno-xxx options differently than -Wxxx

2024-02-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

Andrew Pinski  changed:

   What|Removed |Added

 CC||pto at linuxbog dot dk

--- Comment #6 from Andrew Pinski  ---
*** Bug 114117 has been marked as a duplicate of this bug. ***

[Bug c/63499] gcc treats unknown -Wno-xxx options differently than -Wxxx

2015-10-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

Andrew Pinski  changed:

   What|Removed |Added

 CC||e...@coeus-group.com

--- Comment #5 from Andrew Pinski  ---
*** Bug 67914 has been marked as a duplicate of this bug. ***


[Bug c/63499] gcc treats unknown -Wno-xxx options differently than -Wxxx

2014-10-09 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

Manuel López-Ibáñez manu at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||manu at gcc dot gnu.org
 Resolution|--- |INVALID

--- Comment #1 from Manuel López-Ibáñez manu at gcc dot gnu.org ---
This is on purpose: https://gcc.gnu.org/wiki/FAQ#wnowarning

[Bug c/63499] gcc treats unknown -Wno-xxx options differently than -Wxxx

2014-10-09 Thread zbyszek at in dot waw.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

--- Comment #2 from Zbigniew Jędrzejewski-Szmek zbyszek at in dot waw.pl ---
Ah, ok. Thanks.

[Bug c/63499] gcc treats unknown -Wno-xxx options differently than -Wxxx

2014-10-09 Thread zbyszek at in dot waw.pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

--- Comment #3 from Zbigniew Jędrzejewski-Szmek zbyszek at in dot waw.pl ---
So, there's no way to programmatically check whether a flag is supported,
without resorting to grepping the output or something like that. Great.

[Bug c/63499] gcc treats unknown -Wno-xxx options differently than -Wxxx

2014-10-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
(In reply to Zbigniew Jędrzejewski-Szmek from comment #3)
 So, there's no way to programmatically check whether a flag is supported,
 without resorting to grepping the output or something like that. Great.

No there is way just use the positive side rather than the no- option.