tech-pkg archive

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

Re: C++20 and gcc12/10



On 04/04, David Holland wrote:
> Is it reasonable to commit
> 
>   -USE_CXX_FEATURES=      c++20
>   +# gcc10's C++20 support seems to be adequate and since an explicit
>   +# requirement of C++20 requires building gcc12 on 10.x and elsewhere,
>   +# hold off on the stricter constraint for now.
>   +#USE_CXX_FEATURES=     c++20
>   +GCC_REQD+=             10
> 
> in packages where it works? It's easy enough to put back the stronger
> constraint if the build stops working.

Would that be inside a NetBSD-specific conditional section?  If not,
I think the comment would need to say "NetBSD 10.x" instead of "10.x"
since pkgsrc is a cross-platform package management system.

Lewis


Home | Main Index | Thread Index | Old Index