Using C++11 by default
Norman Feske
norman.feske at ...1...
Mon Mar 25 18:50:09 CET 2013
Hi Andreas,
> I'm no expert in that field but somebody who is might take a look at
> http://gcc.gnu.org/wiki/Cxx11AbiCompatibility and
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53646
thank you for these insightful (and admittedly frightening) links. Given
these discussions, mixing compilation units compiled with -std=c++11 and
-std=c++98 looks risky indeed. It seems that the problem can be avoided
only by compiling the whole C++ code base consistently with one kind of
-std argument. But I wonder how do Linux distributions do that? For
example, if Qt5 uses C++11, does it mean that Qt5 must not be linked to
programs compiled with -std=c++98? This is hard to believe.
> As far as I understand the above deal mainly with issues
> within the standard library which might not be a problem
> when relying on the genode toolchain but could for the
> lx_hybrid platform.
I agree. But how should we go about this?
Cheers
Norman
--
Dr.-Ing. Norman Feske
Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users
mailing list