From owner-freebsd-current@freebsd.org Sat May 28 21:43:44 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA4C2B4E9DA for ; Sat, 28 May 2016 21:43:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B91F168C; Sat, 28 May 2016 21:43:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::cce6:66d6:4bdd:cc70] (unknown [IPv6:2001:7b8:3a7:0:cce6:66d6:4bdd:cc70]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 15B8418514; Sat, 28 May 2016 23:43:43 +0200 (CEST) Subject: Re: r300912: compile failure in world: event.cc:438:45: error: invalid suffix on literal; Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_A3D8A4AA-0678-442D-86D0-1944DDC3A853"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: Date: Sat, 28 May 2016 23:43:34 +0200 Cc: "O. Hartmann" , FreeBSD CURRENT , Bryan Drewery Message-Id: <77081524-8F53-47D2-9A0B-CB634A87634E@FreeBSD.org> References: <20160528230443.31ee2003.ohartman@zedat.fu-berlin.de> To: Alan Somers X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 21:43:44 -0000 --Apple-Mail=_A3D8A4AA-0678-442D-86D0-1944DDC3A853 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 28 May 2016, at 23:20, Alan Somers wrote: >=20 > On Sat, May 28, 2016 at 3:04 PM, O. Hartmann > wrote: >> Recent CURRENT r300912 fails to buildworld with the error shown = below: >>=20 >> [...] >> cc -O2 -pipe -O3 -O3 -pipe -march=3Dnative -DNDEBUG -MD = -MF.depend.alias_skinny.o >> -MTalias_skinny.o -std=3Dgnu99 -fstack-protector-strong = -Wsystem-headers -Wno-pointer-sign >> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable = -Wno-tautological-compare >> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function = -Wno-enum-conversion >> -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter >> -Wno-parentheses -Qunused-arguments >> -c = /usr/src/lib/libalias/modules/skinny/../../../../sys/netinet/libalias/alia= s_skinny.c >> -o alias_skinny.o --- all_subdir_lib/libdevdctl --- --- event.So >> --- /usr/src/lib/libdevdctl/event.cc:438:45: error: invalid suffix on = literal; C++11 >> requires a space between literal and identifier = [-Wreserved-user-defined-literal] >> snprintf(timebuf, bufsize, " timestamp=3D%"PRId64, >=20 > Those aren't the usual CFLAGS. What are your environment, compiler, > and target architecture? There seems to be something that is adding -std=3Dc++11 unconditionally = to the CXXFLAGS for a C++ library. I'm adding Bryan on CC, who may know how this comes to pass. That said, putting a space between the double quote and PRId64 identifier would be handy in any case. -Dimitry --Apple-Mail=_A3D8A4AA-0678-442D-86D0-1944DDC3A853 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAldKEQ4ACgkQsF6jCi4glqPKPgCg3r3qFQU77HZyh+5BkaRe5Smv X0oAoIHb+mLzqYYfY6RF93W6bXiEIYjh =+MXM -----END PGP SIGNATURE----- --Apple-Mail=_A3D8A4AA-0678-442D-86D0-1944DDC3A853--