From owner-freebsd-ports@FreeBSD.ORG Wed Jun 20 09:34:33 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C62811065677; Wed, 20 Jun 2012 09:34:33 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com [209.85.216.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6F5BA8FC0C; Wed, 20 Jun 2012 09:34:33 +0000 (UTC) Received: by qafi31 with SMTP id i31so2785885qaf.15 for ; Wed, 20 Jun 2012 02:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=s5DZS5AukaP59dX3QNcI/is44o9vZJrU1YBhJto7COU=; b=iacadLWSj4dKGRrzshxzZg+ppM4GXZosHI2/mucSYHWgA6RYNDBLxJWitQkSaKhAGk yP5yguUYhsBVagrVtrKXMRb9DRE7mbsO6L4/kObFi9KzFhaKQ+EK7O+d71itWTKAiQEF xCD9tC5PVsTFHESZjrZXGe2XwDV2JPjYpPBkP+4/mIrOlwk0KIoFpF8Qt1flCWH9m1t7 BUgWuwYa1p+2wgQFLg7Wz/3T966hHVh2fMrfta8Y0v1QSGQxgbADmkL0bpI6XdrBURrt bVEie4wpdNk7BVFptTY+T8dCZyhuv6OzX0WJqlyr6KkKiB+wGjs4PX1aM3Lse8NHvYCH ELKg== MIME-Version: 1.0 Received: by 10.224.58.137 with SMTP id g9mr39683562qah.83.1340184872568; Wed, 20 Jun 2012 02:34:32 -0700 (PDT) Received: by 10.229.104.205 with HTTP; Wed, 20 Jun 2012 02:34:32 -0700 (PDT) In-Reply-To: <4FE18FAF.30403@FreeBSD.org> References: <4FE097DA.30701@passap.ru> <4FE18FAF.30403@FreeBSD.org> Date: Wed, 20 Jun 2012 12:34:32 +0300 Message-ID: From: "Andrew W. Nosenko" To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Boris Samorodov , freebsd-ports@freebsd.org Subject: Re: clang, dbus, firefox+thunderbird X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 09:34:33 -0000 On Wed, Jun 20, 2012 at 11:54 AM, Dimitry Andric wrote: > On 2012-06-19 19:14, Andrew W. Nosenko wrote: >> On Tue, Jun 19, 2012 at 6:16 PM, Boris Samorodov 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 ">> \""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