This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]