Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 12:34:32 +0300
From:      "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Boris Samorodov <bsam@passap.ru>, freebsd-ports@freebsd.org
Subject:   Re: clang, dbus, firefox+thunderbird
Message-ID:  <CALa-7vzF7xohpPJHUjqvSHvrLXJkxfFu=Se0fVrcFZ1s-jMWkQ@mail.gmail.com>
In-Reply-To: <4FE18FAF.30403@FreeBSD.org>
References:  <4FE097DA.30701@passap.ru> <CALa-7vwOaw5hwMGdDN497KCG=qn3NK_hPA8VYeDCDErE6oSmvQ@mail.gmail.com> <4FE18FAF.30403@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 20, 2012 at 11:54 AM, Dimitry Andric <dim@freebsd.org> wrote:
> On 2012-06-19 19:14, Andrew W. Nosenko wrote:
>> On Tue, Jun 19, 2012 at 6:16 PM, Boris Samorodov <bsam@passap.ru> wrote:
> ...
>>> /usr/local/include/dbus-1.0/dbus/dbus-protocol.h:459:126: error: invali=
d
>>> suffix on literal; C++11 requires a space between literal and identifie=
r
>>> [-Wreserved-user-defined-literal]
>>> #define DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE "<!DOCTYPE node PUBLI=
C
>>> \""DBUS_INTROSPECT_1_0_XML_PUBLIC_IDENTIFIER"\"\n\""DBUS_INTROSPECT_1_0=
_XML_SYSTEM_IDENTIFIER"\">\n"
> ...
>> It's because of =A0"User defined literals" (the new c++11 feature) and
>> your clang++ is in c++11 (or gnu++11?) mode by default.
>
> Note, the version of clang in base defaults to gnu++98, *not* c++11 or
> gnu++11. =A0Maybe this is added by the configure script, after detection
> of c++11 support?

Another posibility: message about C++11 user defined literals is just
a warning intended for forward compatibility, but promoted to error
because of -Werror.  But it's just a guess, I'm didn't tried to build
firefox or thunderbird by self.

--=20
Andrew W. Nosenko <andrew.w.nosenko@gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALa-7vzF7xohpPJHUjqvSHvrLXJkxfFu=Se0fVrcFZ1s-jMWkQ>