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
Please implement a check for try in case libstdc++ implements c++11 where tr1
is merged into std. For instance, clang on OSX 10.9 w/ Xcode 5.0.2 & llvm 5.0
(500) doesn't include tr1 headers anymore, so build will fail.
Fix here is to patch the header for now:
#define HASH_FUN_H <tr1/functional> => #define HASH_FUN_H <functional>
#define HASH_NAMESPACE std::tr1 => #define HASH_NAMESPACE std
There needs to be a check in place that could verify if either TR1 can be used
or a newer version is in place. This can easily be done by verifying the std:
if ( __cplusplus >= 201103L ) { /*...*/ }
Thanks
Original issue reported on code.google.com by kkooporation@gmail.com on 3 Mar 2014 at 11:14
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
kkooporation@gmail.com
on 3 Mar 2014 at 11:14The text was updated successfully, but these errors were encountered: