when compile I hit the error: ‘put_time’ is not a member of ‘std’ #74
Unanswered
zlq-alinda
asked this question in
Q&A
Replies: 1 comment
-
gcc version is 4.8.5 , how can i resolve it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[ 42%] Building CXX object src/CMakeFiles/pstress-ms.dir/random_test.cpp.o
/home/hudson/pstress/src/random_test.cpp: In function ‘bool execute_sql(std::string, Thd1*)’:
/home/hudson/pstress/src/random_test.cpp:1750:11: error: ‘put_time’ is not a member of ‘std’
ss << std::put_time(std::localtime(&in_time_t), "%Y-%m-%dT%X");
^
make[2]: *** [src/CMakeFiles/pstress-ms.dir/random_test.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/pstress-ms.dir/all] Error 2
make: *** [all] Error 2
Beta Was this translation helpful? Give feedback.
All reactions