Re: git: 348c10112de6 - main - devel/freebsd-gcc9: Build with -std=c++11.
- In reply to: Nuno Teixeira : "Re: git: 348c10112de6 - main - devel/freebsd-gcc9: Build with -std=c++11."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jul 2023 12:08:02 UTC
On Wed, Jul 05, 2023 at 09:39:06AM +0100, Nuno Teixeira wrote: > Hello, > > This fix inspired me to try it on net-p2p/amule that is failing on > clang16. This port already have USES=compiler:c++11-lang This is no-op these days: at least on most arches system compiler already is C++11-capable and defaults to C++11 on stable branches. Now default was bumped to C++17 on -CURRENT with recent Clang update. > and I added USE_CXXSTD=c++11 and it fixes build. > > My question is, isn't a PORTREVISION bump reccomended since build have > changed with -std=c++11? I wouldn't bump it: where C++ is the default (12/13) adding USE_CXXSTD won't change anything, and on -CURRENT it allows the package to appear, as previously it didn't build. ./danfe