您的位置: 首页 > 文章 > Visual C++ 2015错误:cl : Command line error D8016: ‘/ZI‘ and ‘/Gy-‘ command-line options are incompati Visual C++ 2015错误:cl : Command line error D8016: ‘/ZI‘ and ‘/Gy-‘ command-line options are incompati 分类: 文章 • 2023-10-09 12:44:02 cl : Command line error D8016: ‘/ZI’ and ‘/Gy-’ command-line options are incompatible 解决方案: 第一步: project右键 -> properties -> C/C++ -> Debug Information Format -> select:Program Database(/Zi) 第二步: C/C++ -> Code Generation -> Enable Function-Level Linking -> Yes(/Gy) 如图所示: 就这样就OKKK啦!