From nobody Wed Jul 05 16:42:29 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 4Qx56t6Wrqz4ld2m; Wed, 5 Jul 2023 16:42:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qx56t658mz4NwZ; Wed, 5 Jul 2023 16:42:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688575350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AQJfVRXBtUi8i7mjTs0Gbdjk6RLz/E9OF91oT+QVHQg=; b=hBogEocpGyb4sxJbXAsPV2fhXGQ05ETgJ7UUwjGrTwXj+45Qez4MyaSBtHM5CIB8k3TUIL LQsHg8z5kMigeB9S0KN+c+K1FkwdSdWEayAM6d8O1BWaaxBNVwtBwfxkBlw11Xq8qkjDmZ 243EeDjQ0EvqCaEYzlZi+G1+gVdOOWsqLAkDfYNdayklZ4bK41+yHvxO6n4m6jHng2ccdp wSkH6ML5W/LA7G7fwsJK1Tb10oBxw8qyOmzQMqYCCuQ4zZyA77lIxpjSM1OmNgA7zY+7bm +CBCRNL24pHdZM7NApu5hw4OtpCw/ZyhPTkaqI7po7mXYJPWECAtjEmAP13AqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688575350; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AQJfVRXBtUi8i7mjTs0Gbdjk6RLz/E9OF91oT+QVHQg=; b=BPRmC3ael0ka+xZBpY3Gr4K9Mdmst9/cAJ2LeNVFyF15Tu9cpKpW642X8JHqpynyr0kaGR 5+8PHyU+VsrQHbDeu6Gwp+lRcMUbtHWvdC9GReWl6Bzs6iXePM8uUP1ronK06CAtTkboug KlsBS9dThC/6J/WzWACfgd9KMb7rtKqJH3k4dd9alIcaUnUb1T2RKE6hbfsjn2aKIy+pRM oJJpoehSW1dLtPwMp3Unnv+3tnl9AlNOnhEujCtFU93eKun4PS+6JUobAtqdVofIqAiZaM PfgICyeIkK+mp3ESVlp8C/6afCir205qDKpmpNFdEUAAYLlDKlLBEH+UCWBR7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688575350; a=rsa-sha256; cv=none; b=BteqOAO43lOyXbjWd2WU7Iv7EbV8T8Wm3gz+v78zL8uRe8WQvh6h69biVHXoNMoYIgQWQW IM+cmkYky1QCHGI4c8blMe87A63p0RL2w0YDmIrJ/IiBixzlbdTiC7yz5rAC9IO5iJ/jp4 zqjVNy+hr96peKjZM8UFwBmKdXhY27Nz1iKTG8bMdziYkny4B/pt+12oAOsS1OH8DTxzeS 4Yml2Ric32WHdd0vdbOk/lw6B3Mx8O0os5cHNzuulKgwE+vvuXhD3OxuK5dRND9nUOCvVR I3VdfVuNSyE7vZuT5JPvrkvOXdiKGrcp2jkL9IheyQL0cQdvldNhGjBtuvMcrw== Received: from [IPV6:2601:648:8680:16b0:1095:504:9adf:335b] (unknown [IPv6:2601:648:8680:16b0:1095:504:9adf:335b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Qx56t29VgznZl; Wed, 5 Jul 2023 16:42:30 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Wed, 5 Jul 2023 09:42:29 -0700 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 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: git: 348c10112de6 - main - devel/freebsd-gcc9: Build with -std=c++11. Content-Language: en-US To: Alexey Dokuchaev Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org References: <202307041714.364HEbPI098704@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On 7/4/23 8:29 PM, Alexey Dokuchaev wrote: > On Tue, Jul 04, 2023 at 05:14:37PM +0000, John Baldwin wrote: >> commit 348c10112de61df7e66ea2d5a190700213542caa >> >> devel/freebsd-gcc9: Build with -std=c++11. >> >> This works around errors from clang from LLVM16 due to -Wregister >> warnings that are fatal in the default C++ standard (C++17) used by >> clang 16. >> --- >> @@ -26,6 +26,8 @@ TARGETARCH= ${FLAVOR} >> USES= compiler:c++11-lang cpe gmake iconv libtool makeinfo tar:xz >> CPE_VENDOR= gnu >> >> +CXXFLAGS+= -std=c++11 >> + > > We have USE_CXXSTD for that in the b.p.m. Hmm, my grep fu couldn't find that and I found many existing examples of this approach. I will fix it as a followup. -- John Baldwin