1.error C3861: “_isnan”: 找不到标识符
_isnan函数是C99标准的函数,有些编译器不包含
解决方案:#define isnan(x) ((x) != (x))
2.Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
#include “abc.h ” //abc.h后面多了空格
解决方案:去掉空格后问题解决
3.错误:undefined reference to `__gxx_personality_v0’
全c工程默认不会链接libstdc++.a
解决方案:makefile中增加-lstdc++解决
4.VS2015在调用低版本lib库出现有时会出现“无法解析的外部符号 __snprintf ”的问题,解决方法是加入lib库“legacy_stdio_definitions.lib”到工程。