[mlpack-git] [mlpack] Linking against libc++ instead of the GNU libstdc++ on OSX. (#426)

Marcus Edel notifications at github.com
Sat Mar 28 09:10:57 EDT 2015


Since we are using C++11 features we link against libstdc++ when using clang. libstdc++ is tried-and-tested, but it is a dead end on OSX that results in some problems like:

`error: no template named 'forward' in namespace 'std';`

Due to Apple not upgrading past GCC 4.2 for license reasons, Apple switched the standard library, so clang++ started to link against libc++ rather than libstdc++. The good news is that libc++ is specifically designed so that we can use it in the same process as libstdc++.

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/426
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150328/32b0db3d/attachment.html>


More information about the mlpack-git mailing list