[cfe-dev] Does clang now emit [abi:cxx11] unconditionally when used with libstdc++?
Andrey Bokhanko via cfe-dev
cfe-dev at lists.llvm.org
Mon Aug 15 11:49:17 PDT 2016
As I understand, -D_GLIBCXX_USE_CXX11_ABI is a library flag, not compiler
one, so clang should work with libstdc++ *exactly* as gcc5+ do. See
On Monday, August 15, 2016, Renato Golin <renato.golin at linaro.org> wrote:
> On 15 August 2016 at 15:58, Maria Gottschalk via cfe-dev
> > So, is it correct that clang-3.9.0 unconditionally compiles for the new
> abi? That gcc 4.x.y is no longer usable and that you must have gcc 5+ if
> you want to use libstdc++?
> Oh bother! Adding Dmitry, as he wrote the code .
> I was under the impression that, if you didn't use the tag, nothing
> would have changed.
> We don't have many compile-time options like GCC, so this would have
> to be a run-time option, if needed.
>  https://reviews.llvm.org/D18035 and https://reviews.llvm.org/D17567
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev