<div dir="ltr"><div>Sorry your message arrived while I was typing mine.</div><div> </div><div>I just removed both these lines from my cmakelibcxx script:</div><div>rem -DLIBCXX_CXX_ABI="libsupc++" ^<br>rem -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="/mingw/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++;/mingw/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++/x86_64-w64-mingw32" ^</div>
<div> </div><div>and that removed the __GLIBCXX__ problem.</div><div>I'm not sure why I put these lines in my scripts in the first place, as I don't know what they do. They have been there for ever!</div><div> </div>
<div>Hmmmm.</div><div> </div><div>Ok, I'll try and work with these lines missing and see what happens and if everything runs ok.</div><div> </div><div>Thanks for your help with this.<br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 5:43 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="im"><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 10:58 AM, G M <span dir="ltr"><<a href="mailto:gmisocpp@gmail.com" target="_blank">gmisocpp@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div>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.</div>

<div> </div><div>When I do</div><div>cd \libcxx_build</div><div>cmake -G "Ninja" c:/libcxx etc.</div>
<div> </div><div>and I look at the build.ninja file in c:\libcxx_build, and I see lines like this:</div><div> </div><div>  DEFINES = -D_DEBUG -D_LIBCPP_BUILD_STATIC -D__GLIBCXX__</div></blockquote></div><br></div>This indicates that in CMake, you have LIBCXX_CXX_ABI set to "libsupc++".</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I would try blowing away your CMakeCache.txt in your build tree, re-running cmake, and maybe overriding that CMake variable yourself.</div></div>
</blockquote></div><br></div>