vs编译的时候提示命令行选项冲突 10C

'/RTC1' and '/O2' command-line options are incompatible

2个回答

chyccc
chyccc 同问,来学习。。。。。
一年多之前 回复
lihaovictory123
up_road 试过了,依然没有效果
一年多之前 回复

The optimization setting Maximize Speed (/O2) is incompatible to the Basic Runtime Checks setting of Code Generation.
To change the settings for Basic Runtime Checks:
Solution -> Properties -> Configuration Properties -> C/C++ -> Code Generation -> Basic Runtime Checks
Set it to "Default", and it should work.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!