C++菜鸟寻求帮助!!!

来源:百度知道 编辑:UC知道 时间:2024/06/14 02:42:17
arning C4652: compiler option 'Generate Browser Info' inconsistent with precompiled header; current command-line option will override that defined in the precompiled header
这是一个什么错误?程序可以远行,为什么会有这个警告?
“用给定命令行选项重新生成预编译头可以避免此警告”是什么意思?

MSDN中对c4652的解释:
错误消息
编译器选项“option”与预编译头不一致;当前命令行选项将重写预编译头中定义的选项

给定命令行选项与创建预编译头 (.pch) 时的给定命令行选项不同。使用的是当前命令行中指定的选项。

用给定命令行选项重新生成预编译头可以避免此警告。