[Bug c++/50917] [4.7 Regression] Mozilla build fails because of C++11 user-defined literals

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Sun Oct 30 12:23:00 GMT 2011


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

--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-30 12:22:30 UTC ---
The problem in comment 2 is fixed by:

replacing:
#define SECMOD_MAKE_NSS_FLAGS(fips,slot) \
"Flags=internal,critical"fips" slotparams=("#slot"={"SECMOD_SLOT_FLAGS"})"
with:
#define SECMOD_MAKE_NSS_FLAGS(fips,slot) \                                      
"Flags=internal,critical" fips" slotparams=("#slot"={" SECMOD_SLOT_FLAGS"})"

in nss/secmodt.h

So I guess this bug is invalid, because the compiler is right to 
issue an error according to the new standard (2.14.8).



More information about the Gcc-bugs mailing list