Date: Sat, 28 May 2016 23:12:27 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, Alan Somers <asomers@freebsd.org> Subject: Re: r300912: compile failure in world: event.cc:438:45: error: invalid suffix on literal; Message-ID: <16E0EED9-E85A-487D-91E5-149EEC9E8DF0@FreeBSD.org> In-Reply-To: <20160528230443.31ee2003.ohartman@zedat.fu-berlin.de> References: <20160528230443.31ee2003.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_6B5A819A-BCB2-4947-A277-5D395DF7DE6C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 28 May 2016, at 23:04, O. Hartmann <ohartman@zedat.fu-berlin.de> = 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, If you are compiling with CXXFLAGS having -std=3Dc++11, please turn that off to work around this. At some point there should be space inserted between the double quote and the PRId64, that should fix it. -Dimitry --Apple-Mail=_6B5A819A-BCB2-4947-A277-5D395DF7DE6C 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 iEYEARECAAYFAldKCcYACgkQsF6jCi4glqMNFACgjbDXLDUNJLVTW293JXg/S+7j gq8AniEUXwRkGMdwiLA2FrX2qB8LLxrb =/Y7v -----END PGP SIGNATURE----- --Apple-Mail=_6B5A819A-BCB2-4947-A277-5D395DF7DE6C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16E0EED9-E85A-487D-91E5-149EEC9E8DF0>