From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3043 invoked by alias); 30 Oct 2011 10:21:07 -0000 Received: (qmail 3035 invoked by uid 22791); 30 Oct 2011 10:21:06 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,WEIRD_QUOTING X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 30 Oct 2011 10:20:45 +0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/50917] [4.7 Regression] Mozilla build fails because of C++11 user-defined literals Date: Sun, 30 Oct 2011 10:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg03123.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D50917 --- Comment #2 from Markus Trippelsdorf 201= 1-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 =3D SECMOD_CreateModule(__null, "NSS Internal PKCS #11 Module", __null, "Flags=3Dinternal,critical"fips" slotparams=3D(""1""=3D{"SECMOD_SLOT_FLAGS"= })"); % c++ -std=3Dgnu++0x test.ii test.ii:3:48: error: inconsistent user-defined literal suffixes =E2=80=98fi= ps=E2=80=99 and =E2=80=98SECMOD_SLOT_FLAGS=E2=80=99 in string literal test.ii:3:69: error: unable to find user-defined string literal operator =E2=80=98operator"" fips=E2=80=99 test.ii:3:73: error: =E2=80=98SECMOD_CreateModule=E2=80=99 was not declared= in this scope