[Bug preprocessor/38161] [4.4 regression] #elif <non-const expression #defined in this #if> breaks

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 17 17:30:00 GMT 2008



------- Comment #1 from tromey at gcc dot gnu dot org  2008-11-17 17:29 -------
According to my reading of the standard, this code is in fact incorrect.
This is basically the same as #36320.

I'm beginning to wonder, though, whether this change was overly eager on my
part
and should be made -pedantic only, or something like that.


-- 


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



More information about the Gcc-bugs mailing list