Dnia 2013-12-18, o godz. 22:58:07
hero...@gentoo.org napisał(a):

> Hey, Michał,
> 
> Michał Górny <mgo...@gentoo.org> writes:
> 
> > a) adding USE=c++11 and USE-deps to all the packages in question,
> 
> I think it is better achieved by a (simple and stupid) global
> CXXFLAGS. Adding an extra USE flag feels a little over-engineering.

This is nowhere near a good solution IMO.

First of all, it doesn't give us a way of ensuring ABI compatibility.
Users switch the flags and have to rebuild all C++ packages to regain
the ABI compatibility. The system ends up borked quite easily.

Then, we don't have a good way of finding packages to rebuild. Users
could try to find out which libraries used C++ but well... it's nowhere
near good. Or they just rebuild everything...

Then, many developers just won't bother. Users will be the ones to hit
the incompatible package build failures first.

Lastly, this gives us no way of switching to C++11 completely without
modifying the compiler defaults. Even if we put '-std=c++11' into
profiles, most of the people override CXXFLAGS and won't have it.

> Any anyway, if it is only for lldb, a piece of elog conveying a
> preferred solution would suffice.

elog? I think you mean dying with CXXFLAGS that don't specify
the necessary standard. Which is kinda backwards to REQUIRED_USE...

And then, simple CXXFLAGS solution would end up breaking users'
systems...

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to