The problem here is that libc++ has been written after c++11 was "released". You could try this:
#if __cplusplus >= 201103L #include <functional> #else #include <tr1/functional> #endif
and compile with CXXFLAGS="-std=c++11".
The problem here is that libc++ has been written after c++11 was "released".
You could try this:
#if __cplusplus >= 201103L
#include <functional>
#else
#include <tr1/functional>
#endif
and compile with CXXFLAGS= "-std=c+ +11".