‘numeric_limits’ is not a member of ‘std‘解决方法

bug: dft_thread.cpp:153: error: ‘memset’ was not declared in this scope
Debug:  在 dft_thread.cpp 的头文件中加 #include<cstring> , 问题解决

bug: optest.cpp:795:  error: ‘numeric_limits’ is not a member of ‘std’

Debug: You need to include the header file <limits>, which is where std::numeric_limits is defined. Your Mac compiler was helping you out by automatically including that header file; however, you should not rely on that behavior and explicitly include any header files you need.

编译成功

posted @ 2012-06-01 17:33  wgting  阅读(3594)  评论(0编辑  收藏  举报