tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: c++20: require gcc12?



On Tue, Feb 11, 2025 at 07:30:12AM -0500, Greg Troxel wrote:
> Martin Husemann <martin%duskware.de@localhost> writes:
> 
> > This is very strange and probably points at a serious bug in the gcc pkg.
> > Any chance to investigate details of the configure failure?
> >
> > AFAICT there is no c++20 specific test code to compile and the c++
> > frontend does understand "-std=c++20".
> 
> Really?  That seems bizarre as selecting the std has been the normal
> approach for many years and versions.

Yes, that is what I meant. The AC_... test used in the pkg does not
seem to compile anything special for C++20, it checks things up to C++17
and whether the compiler accepts -std=c++20 (because newer C++ standards
came with proper feature test macros so there is no need to compile test
code).

I am trying to reproduce the failure locally on a NetBSD 9 machine.

Martin


Home | Main Index | Thread Index | Old Index