tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/mk/compiler
On Sun, Dec 08, 2024 at 08:35:32AM -0500, Greg Troxel wrote:
> "Nia Alarie" <nia%netbsd.org@localhost> writes:
>
> > @@ -190,18 +190,17 @@ GCC_REQD+= 14
> > # gcc documents that 11 is required, with a few perhaps-obscure
> > # features requiring 12.
> >
> > +# 10 is the version included in netbsd-10.
> > # We hope that it remains OK for most C++20 in the future...
> > -# \todo Change to 11 or justify.
> > GCC_REQD+= 10
> > .endif
>
> Please revert this. I added a comment that gcc documents that 11 is
> required. netbsd-10 having gcc 10 is not a justification for requiring
> a version taht upstream documents as insufficient.
I'll stick my neck out and suggest that gcc 10 is a very good approximation
to c++20, and the things which are missing I wouldn't have guessed were
in c++20. spaceship operator / coroutines / concepts / span are in gcc10.
Cheers,
Patrick
Home |
Main Index |
Thread Index |
Old Index