c++ - Visual Studio 错误 D8016 : '/ZI' and '/Gy' command-line options are incompatible

标签 c++ visual-studio-2015

我正在处理的项目有问题。尽管代码是正确的,但我无法构建它,因为出现以下错误

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/

相关文章:

vb.net - 遇到奇怪的错误: "& ErrorName

c# - MySQL 查询从组合框中选择

c++ - 每次我在 visual studio 2015 中构建时出现权限错误

c++ - 树节点类的可变参数和模板模板参数以及部分规范

c++ - 析构函数的功能

c# - 比较 Visual Studio 2015 和 Blend for Visual Studio

C语言循环打印数组中的字符串

C++11:如果对象是使用 make_shared 构造的,如何删除它

c++ - char* 到 number 的值

c++ - Makefile vpath 不适用于头文件