From owner-svn-src-stable@freebsd.org Sat Mar 31 12:42:10 2018 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37C20F524B8; Sat, 31 Mar 2018 12:42:10 +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 C5A8581A56; Sat, 31 Mar 2018 12:42:09 +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 CE035369FB; Sat, 31 Mar 2018 14:42:01 +0200 (CEST) From: Dimitry Andric Message-Id: <68DEEF9A-6290-40AD-B51D-E187593C089F@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_F7837E48-7DD6-4409-834B-4C6989E311A9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r331838 - in stable/11: . contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contrib/compiler-rt/l... Date: Sat, 31 Mar 2018 14:42:01 +0200 In-Reply-To: Cc: re , src-committers , svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org To: Antoine Brodin References: <201803311138.w2VBcKHP014025@repo.freebsd.org> X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2018 12:42:10 -0000 --Apple-Mail=_F7837E48-7DD6-4409-834B-4C6989E311A9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 31 Mar 2018, at 14:25, Antoine Brodin wrote: > > On Sat, Mar 31, 2018 at 11:38 AM, Dimitry Andric wrote: >> Author: dim >> Date: Sat Mar 31 11:38:16 2018 >> New Revision: 331838 >> URL: https://svnweb.freebsd.org/changeset/base/331838 >> >> Log: >> Merge clang, llvm, lld, lldb, compiler-rt and libc++ 6.0.0 release, and >> several follow-up fixes. > ... > Index: CompilerInvocation.cpp > =================================================================== > --- CompilerInvocation.cpp (revision 331837) > +++ CompilerInvocation.cpp (revision 331838) > ... > @@ -1690,11 +1765,7 @@ > break; > case InputKind::CXX: > case InputKind::ObjCXX: > - // The PS4 uses C++11 as the default C++ standard. > - if (T.isPS4()) > - LangStd = LangStandard::lang_gnucxx11; > - else > - LangStd = LangStandard::lang_gnucxx98; > + LangStd = LangStandard::lang_gnucxx14; > break; > case InputKind::RenderScript: > LangStd = LangStandard::lang_c99; > ... > > Hi, > > Is it safe to change the default c++ standard from gnu++98 to gnu++14 > in a stable branch? > Around 380 ports are still broken by the gnu++98 -> gnu++14 switch. It's an upstream choice, which also corresponds to what gcc 6 and higher have been doing for a longer time. It's been almost 3 months now since clang 6 landed in head, and if those ports require USE_CXXSTD=gnu++98 to be fixed, why haven't those already been changed already? That said, I'll be happy to go over the list and push in patches, if it is simply to due to lack of maintainer time. -Dimitry --Apple-Mail=_F7837E48-7DD6-4409-834B-4C6989E311A9 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWr+CGQAKCRCwXqMKLiCW oykeAJ9rHbKOL9MItTy/sb6xEqclUAaOzgCgkQJpK15rg2ymy87gvhZNAmCEtmQ= =ZVDS -----END PGP SIGNATURE----- --Apple-Mail=_F7837E48-7DD6-4409-834B-4C6989E311A9--