我正在处理的项目有问题。尽管代码是正确的,但我无法构建它,因为出现以下错误
Error D8016 '/ZI' and '/Gy-' command-line options are incompatible LoadReport C:\LoadReport\LoadReport\cl
我的 Visual Studio 版本是 2015 年。任何想法都将不胜感激。
最佳答案
在配置属性中(Project ➔ Properties
),
“/ZI”在
C/C++ ➔ General ➔ Debug Information Format
“/Gy”在
C/C++ ➔ Code Generation ➔ Enable Function-Level Linking
关于c++ - Visual Studio 错误 D8016 : '/ZI' and '/Gy' command-line options are incompatible,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43141401/