Boost C++ Libraries: Ticket #9541: crash when using boost 1.55.0 from an application that is based on libstdc++ on Mac https://svn.boost.org/trac10/ticket/9541 <p> The following are the steps to reproduce the defect: 1) Create a Command Line Tool application in XCode and make sure its c++ standard library is libstdc++; 2) add the following code in the file main.cpp: </p> <blockquote> <p> boost::filesystem::path filePath = "/Users/admin/test.log"; boost::filesystem::path bfsFileName = filePath.filename(); std::string fileName = bfsFileName.c_str(); </p> </blockquote> <p> 3) Run the application and it always crashes at the last line. </p> <p> My XCode is 5.0 and my os is 10.8.5. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9541 Trac 1.4.3 anonymous Thu, 02 Jan 2014 08:47:21 GMT <link>https://svn.boost.org/trac10/ticket/9541#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9541#comment:1</guid> <description> <p> BOOST is built using clang++ and libc++ </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 04 Apr 2014 02:19:27 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9541#comment:2 https://svn.boost.org/trac10/ticket/9541#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/9541#comment:1" title="Comment 1">anonymous</a>: </p> <blockquote class="citation"> <p> BOOST is built using clang++ and libc++ </p> </blockquote> <p> Well, there's your problem. You can't mix two different standard libraries like that. </p> Ticket