You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++.
The text was updated successfully, but these errors were encountered:
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++.
The text was updated successfully, but these errors were encountered: