Prohibit enum <-> int mixup

Ian Lance Taylor iant@google.com
Tue Feb 1 19:41:00 GMT 2011


"Kevin P. Fleming" <kpfleming@digium.com> writes:

> I don't think the OP was asking about building GCC itself using
> --std=c++0x, just his programs. In that situation, presumably his
> libstdc++ was built by his distro and has the 'standard' ABI, right?

Yes, and that's the problem.  For those cases where his program expects
to use the library, it may (in some obscure cases) use the wrong ABI.

Ian



More information about the Gcc-help mailing list