VS2010 这个warning怎么解决?

来源:互联网 发布:ubuntu单用户模式 编辑:程序博客网 时间:2024/04/29 22:50

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(298,5): warning MSB8004: Intermediate Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Intermediate Directory.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.

 

 

warning MSB8004: Intermediate 目录未以斜杠结尾。此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Intermediate 目录。
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(299,5): warning MSB8004: Output 目录未以斜杠结尾。此生成实例将添加斜杠,因为必须有这个斜杠才能正确计算 Output 目录。

 

顾名思义,就是你在工程属性里面,设置Intermediate目录时没有以斜杠结束,编译器帮你自动加了。

原创粉丝点击