Date: Wed, 10 Jan 2018 20:43:32 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r458581 - in head/lang: gcc48 gcc49 gcc5 gcc5/files Message-ID: <27727B31-0B98-411B-B5A2-955F682B34B7@FreeBSD.org> In-Reply-To: <20180110134845.GA94223@FreeBSD.org> References: <201801092208.w09M8jeq029512@repo.freebsd.org> <20180110134845.GA94223@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_BFB2BC61-4123-4240-B05F-B23B420A20EF Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 10 Jan 2018, at 14:48, Alexey Dokuchaev <danfe@FreeBSD.org> wrote: > > On Tue, Jan 09, 2018 at 10:08:45PM +0000, Dimitry Andric wrote: >> New Revision: 458581 >> URL: https://svnweb.freebsd.org/changeset/ports/458581 >> >> Log: >> Fix builds of lang/gcc{48,49,5} with clang 6.0.0 >> >> Since clang++ 6.0.0 now defaults to -std=gnu++14 (similar to g++ 6 and >> higher), building gcc48, gcc49 or gcc5 produce quite a number of >> "invalid suffix on literal; C++11 requires a space between literal and >> identifier" errors. This is because in many places, double quotes are >> directly followed by printf helper macros like HOST_WIDE_INT_PRINT. >> [...] >> >> Modified: >> head/lang/gcc48/Makefile >> head/lang/gcc49/Makefile >> head/lang/gcc5/Makefile > > Does the fact that `lang/gcc47' is not part of this commit mean it is not > affected? No, not by default: from gcc 4.8 onwards, most parts of gcc are compiled as C++, so that is the situation where the above issues occur. Before that, you had to enable building with a C++ compiler using ENABLE_BUILD_WITH_CXX, but at the time it was an experimental option. See also: https://gcc.gnu.org/wiki/cxx-conversion https://gcc.gnu.org/ml/gcc/2012-08/msg00015.html -Dimitry --Apple-Mail=_BFB2BC61-4123-4240-B05F-B23B420A20EF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWlZs5AAKCRCwXqMKLiCW ozdEAJ9w0ZvS7ZVAg2tmonG+zwsEzj0VkQCfdkftdt98lzaSnOIhfVD90YWciSc= =0kHS -----END PGP SIGNATURE----- --Apple-Mail=_BFB2BC61-4123-4240-B05F-B23B420A20EF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27727B31-0B98-411B-B5A2-955F682B34B7>