[Bug c/40989] -Werror= and #pragma diagnostics do not work with group flags

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 12 00:15:00 GMT 2010



------- Comment #3 from manu at gcc dot gnu dot org  2010-03-12 00:15 -------
Created an attachment (id=20091)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20091&action=view)
patch

This is my current patch to fix this. However, it has a big problem: Since
there is no "namespace" for options (all options are visible from everywhere),
functions referenced in options.h must be defined in a file that is linked with
everything, which is very inconvenient. Any ideas how to overcome this?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40989



More information about the Gcc-bugs mailing list