From nobody Wed Jul 05 03:29:19 2023 X-Original-To: dev-commits-ports-main@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 4QwlWh0SD3z4lwMw; Wed, 5 Jul 2023 03:29:20 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QwlWg6phJz3nMp; Wed, 5 Jul 2023 03:29:19 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688527760; 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: in-reply-to:in-reply-to:references:references; bh=OsDAYg7LxvxN60z+YrwFYb7prtuN8Vf3YMMSRLBO9ME=; b=HatKRHbOy6a2f8xupFQ29AYYlGKK7JnTzi0U1VQZU3oh9FjDG2GxixqAHcyZSp6l9rKjF/ bPVZJY9zt/g+NGoq0HisqBbAUkDXwgCu3ZlgVvRUddMkC23i98iugd8ErpWy+ISCLGqpa0 2BPTtnnMEXgqaVIRBF2VkyEDNg6d91+NS8eQwcxPUSQhz7nPu3GfRUknbwbE3ceKC9z52X khDBwqIz/7A08VinBPMGGIigE7ShPUyd/9JN0FdN/fFh9VmzbpAXIAm12pZye+gpAFUAzX hjolxTHvGBAZiwCJ+qh5HmFtME3VhISBz5Lnv21WlmCzLKAEdQxsAl5/J8koAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688527760; 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: in-reply-to:in-reply-to:references:references; bh=OsDAYg7LxvxN60z+YrwFYb7prtuN8Vf3YMMSRLBO9ME=; b=TQKtQNM476YrETx5e+H0ExNrmiPZtRKVjHUiSR17m7EkgeUcROWfsHc72RDeNac05dAE2x a/jE1E/3QrcRf03gmARzm4BFDukfIwjai1SVfsno6m29hVNp5sAsSt96gBoDZCOhCRD5JS fiwwKIeIA2vdDOXQK15GI0IU4xHZOoOaY5YBXganpmGkVB47FXy38w8/hSGohDCIFmHf96 4dl5O/S2nr1H/eNWHCKXQI7XNHmD2DB68lwoERv2nnrsnkMXsPtO/Umr5lW4ItXG9UJptm yxW7/33ix9fzI7G4BVcDQW5EY2xhDqxy4jw+bUNlH8gAboGu0U6TcFfoJNgV3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688527760; a=rsa-sha256; cv=none; b=cnvmIJnPleUV+UPxLTVO8Zpmqf/N7FEDMbvLHl+fpLNAgFPmWkLAz//DfzmaJkkzeKwxIl 5Sxz8xhWRwkcT1jYSk0e/+LFajPowaTBqo3yBys39/ATCnVD5RamrGfhw/SoRsaJCRwe7k CafzcAvjeKRJuw8MDO2YYEkXI0v6eUiDY40/JBTAqqmnl1/kCvsDAeVNBiOozgahcKSpIh OlXc6izOOTBIphDiGLoigH6OEVYXzvFrHaeLOpN6zV5z529U7+7PRghMOapH+oilQkl4k0 gfEPLPy5DCpL7bmhFfGZADbWigMYiALYzY6zzLwLqdPAnQVrRT9sHNNLyOujVg== Received: by freefall.freebsd.org (Postfix, from userid 1033) id C113A16EDB; Wed, 5 Jul 2023 03:29:19 +0000 (UTC) Date: Wed, 5 Jul 2023 03:29:19 +0000 From: Alexey Dokuchaev To: John Baldwin Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 348c10112de6 - main - devel/freebsd-gcc9: Build with -std=c++11. Message-ID: References: <202307041714.364HEbPI098704@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202307041714.364HEbPI098704@gitrepo.freebsd.org> X-ThisMailContainsUnwantedMimeParts: N 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. ./danfe