[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 10:21:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50917
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-10-30 10:20:42 UTC ---
Another example (happened later in Mozilla build, after putting
a space between "libxul"MOZ_DLL_SUFFIX):
struct SECMODModule *nssMod = SECMOD_CreateModule(__null,
"NSS Internal PKCS #11 Module", __null,
"Flags=internal,critical"fips" slotparams=(""1""={"SECMOD_SLOT_FLAGS"})");
% c++ -std=gnu++0x test.ii
test.ii:3:48: error: inconsistent user-defined literal suffixes ‘fips’ and
‘SECMOD_SLOT_FLAGS’ in string literal
test.ii:3:69: error: unable to find user-defined string literal operator
‘operator"" fips’
test.ii:3:73: error: ‘SECMOD_CreateModule’ was not declared in this scope
More information about the Gcc-bugs
mailing list