This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50917] [4.7 Regression] Mozilla build fails because of C++11 user-defined literals
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Oct 2011 10:20:42 +0000
- Subject: [Bug c++/50917] [4.7 Regression] Mozilla build fails because of C++11 user-defined literals
- Auto-submitted: auto-generated
- References: <bug-50917-4@http.gcc.gnu.org/bugzilla/>
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