------- Comment #3 from manu at gcc dot gnu dot org  2008-08-21 18:04 -------
There are several bugs here:

1) -Wno-error=pendatic does not work. But neither does -Werror=pedantic or
-no-pedantic, so this is a feature request. We would need to implement
-Wpedantic as a synonym of -pedantic. I have been thinking about doing this for
a while anyway just for consistency. However, -pedantic-errors is not
equivalent to -Werror=pedantic, so not sure in which direction should the
inconsistency be solved.

2) The duplicated messages. This seems hard to fix: too many jumps around, too
many global variables being used...

x.c:10: warning: initializer element is not computable at load time
x.c:10: warning: initializer element is not computable at load time

3) -fdiagnostics-show-option does not show [-pedantic]. This is easy to fix.


-- 


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

Reply via email to