新的visual 2013社区出现错误

时间:2014-11-13 13:57:19

标签: c++ visual-studio-2013 stl

试用新的visual 2013社区版。 我的旧项目不能用它编译。<​​/ p>

1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\iostream
1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sstream
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sstream(71): error C2059: syntax error : '('
1>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sstream(370) : see reference to class template instantiation 'std::basic_stringbuf<_Elem,_Traits,_Alloc>' being compiled
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sstream(71): error C2334: unexpected token(s) preceding ':'; skipping apparent function body
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sstream(370): fatal error C1075: end of file found before the left brace '{' at 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\sstream(12)' was matched

这与新平台工具集(v120)有关,当我更改为旧版v100(visual 2010)时,所有内容都编译得很好。 有什么想法吗?

感谢。

0 个答案:

没有答案