From owner-svn-ports-head@freebsd.org Wed Jan 10 19:44:04 2018 Return-Path: Delivered-To: svn-ports-head@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 1B1B9E72598; Wed, 10 Jan 2018 19:44:04 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 CB2C563E8F; Wed, 10 Jan 2018 19:44:03 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 7BBA847020; Wed, 10 Jan 2018 20:44:00 +0100 (CET) From: Dimitry Andric Message-Id: <27727B31-0B98-411B-B5A2-955F682B34B7@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_BFB2BC61-4123-4240-B05F-B23B420A20EF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r458581 - in head/lang: gcc48 gcc49 gcc5 gcc5/files Date: Wed, 10 Jan 2018 20:43:32 +0100 In-Reply-To: <20180110134845.GA94223@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org To: Alexey Dokuchaev References: <201801092208.w09M8jeq029512@repo.freebsd.org> <20180110134845.GA94223@FreeBSD.org> X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2018 19:44:04 -0000 --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 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--