Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2023 03:29:19 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
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:  <ZKTjj84P5XCzuGzG@FreeBSD.org>
In-Reply-To: <202307041714.364HEbPI098704@gitrepo.freebsd.org>
References:  <202307041714.364HEbPI098704@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZKTjj84P5XCzuGzG>