VS2015编译错误

http://img.mukewang.com/56ef550800010c2619070625.jpg

http://img.mukewang.com/56ef553b0001ac7718290809.jpg

1>------ 已启动生成: 项目: ConsoleApplication3, 配置: Debug Win32 ------

1>  源.cpp

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1115): error C3861: “__builtin_huge_valf”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1120): error C3861: “__builtin_nanf”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1125): error C3861: “__builtin_nansf”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1178): error C3861: “__builtin_huge_val”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1183): error C3861: “__builtin_nan”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1188): error C3861: “__builtin_nans”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1241): error C3861: “__builtin_huge_val”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1246): error C3861: “__builtin_nan”: 找不到标识符

1>c:\program files (x86)\microsoft visual studio 14.0\vc\include\limits(1251): error C3861: “__builtin_nans”: 找不到标识符

========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========


carlisle
浏览 6037回答 2
2回答

onetwosix

“找不到标识符”的问题都是没有定义就使用,或者先使用后定义的。你的程序都把main(void)函数定义成void为什么还要return 1呢

carlisle

重装之后就没有问题了。。可能之前环境配置被我搞乱了
打开App,查看更多内容
随时随地看视频慕课网APP