[libcxx] type_info/bad_cast observations relating to r191397

Chandler Carruth chandlerc at google.com
Wed Oct 2 09:43:11 PDT 2013


On Wed, Oct 2, 2013 at 10:58 AM, G M <gmisocpp at gmail.com> wrote:

> I build with cmake and ninja and I think it's cmake that is causing the
> __GLIBCXX__ definition to get in but it's hard to see where.
>
> When I do
> cd \libcxx_build
> cmake -G "Ninja" c:/libcxx etc.
>
> and I look at the build.ninja file in c:\libcxx_build, and I see lines
> like this:
>
>   DEFINES = -D_DEBUG -D_LIBCPP_BUILD_STATIC -D__GLIBCXX__
>

This indicates that in CMake, you have LIBCXX_CXX_ABI set to "libsupc++".

I would try blowing away your CMakeCache.txt in your build tree, re-running
cmake, and maybe overriding that CMake variable yourself.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131002/3f851d8e/attachment.html>


More information about the cfe-commits mailing list