tech-pkg archive

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

Re: USE_LANGUAGES and wrappers



On Sun, Jul 23, 2023 at 08:54:58AM +0000, nia wrote:
> It seems that most of the disagreements are over defaulting to c++03,
> which I now understand the drawbacks for.
> 
> Do we agree that USE_LANGUAGES should be replaced?
> 
> I would introduce two new vars, FORCE_C_STD and FORCE_CXX_STD.
> Unlike USE_CC_FEATURES and USE_CXX_FEATURES, each variable can only be
> set once.
> 
> Adding e.g. gnu++11 would cause c++11 to be removed, which
> would remove a lot of uses of BUILDLINK_TRANSFORM in indiviaul
> packages to allow use of alloca().

To clarify, I mean "do we agree that USE_LANGUAGES should be replaced
for the use case of forcing a specific standard version?" ;)


Home | Main Index | Thread Index | Old Index