From nobody Thu Jul 06 18:48:35 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qxlt42tZYz4m8vS; Thu, 6 Jul 2023 18:48:44 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mailer.gwdg.de (mailer.gwdg.de [134.76.10.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qxlt40Y1Sz3wBZ; Thu, 6 Jul 2023 18:48:44 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; none Received: from excmbx-24.um.gwdg.de ([134.76.9.234] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1qHU1y-0003d8-3a; Thu, 06 Jul 2023 20:48:42 +0200 Received: from MBX19-GWD-03.um.gwdg.de (10.108.142.56) by excmbx-24.um.gwdg.de (134.76.9.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.2507.27; Thu, 6 Jul 2023 20:48:41 +0200 Received: from [192.168.178.23] (10.250.9.199) by MBX19-GWD-03.um.gwdg.de (10.108.142.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1118.30; Thu, 6 Jul 2023 20:48:41 +0200 Message-ID: <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> Date: Thu, 6 Jul 2023 20:48:35 +0200 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used To: Raphael Kubo da Costa CC: , , References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> Content-Language: en-US Reply-To: "Hurling, Rainer" From: Rainer Hurling In-Reply-To: <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: EXCMBX-29.um.gwdg.de (134.76.9.204) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4Qxlt40Y1Sz3wBZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Am 06.07.23 um 10:51 schrieb Raphael Kubo da Costa: >> As for a PORTREVISION bump: it _could_ be the case that the generated >> files differ now, as in the past the default standard was gnu++14 >> rather than c++11. For leaf ports like these two I don't think the >> difference really matters, but I've been semi-abstent for so long >> that >> portmgr@ or someone more active may have a better guideline. > > By the way, one other possibility that I haven't tested myself if > compatibility is an issue would be doing something like > https://cgit.freebsd.org/ports/commit/?id=4e0c2ae319222145ab0b3f37c0ba52f596426d5a > > but passing USE_STDCXX=gnu++14 instead of changing CXXFLAGS. This would > guarantee that non-main with older clang releases remain untouched > while also making clang 16 use the same standard that the older clang > releases use. Since the eboard project is hardly maintained, an upstream patch is currently difficult to implement. Therefore I consider to take the tip to heart and to change to USE_STDCXX=gnu++14 in the games/eboard port. The port builds well, the program seems to work without errors. Still, one more question: is it safe to remove USES=compiler:c++11-lang for architectures other than amd64 and i386 and just use USE_STDCXX=gnu++14. I have no way to test for arm, etc. Thanks for clarification.