麻烦将C ++解决方案从VS2013 Ultimate转移到Pro

时间:2015-07-30 15:03:22

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

我一直在桌面上开发一个C ++程序,但想要转移到我的笔记本电脑上。桌面运行VS2013 Ultimate,笔记本电脑运行Pro(雇主的许可问题)。

当我这样做时,我得到以下内容:

12  IntelliSense: linkage specification is incompatible with previous "bsearch_s" (declared at line 439)    c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h 588 33  MyProgram
13  IntelliSense: linkage specification is incompatible with previous "bsearch" (declared at line 443)  c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h 591 33  MyProgram
14  IntelliSense: linkage specification is incompatible with previous "qsort_s" (declared at line 448)  c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h 595 16  MyProgram
15  IntelliSense: linkage specification is incompatible with previous "qsort" (declared at line 452)    c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdlib.h 599 16  MyProgram
16  IntelliSense: a function type involving a generic parameter cannot have an ellipsis parameter   c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vadefs.h 83  21  MyProgram
17  IntelliSense: a function type involving a generic parameter cannot have an ellipsis parameter   c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\vadefs.h 84  23  MyProgram

任何人都知道问题是什么?我担心的是因为(a)我想将开发转移到我的笔记本电脑上,但是(b)因为我希望以后可以回来编译它,此时我确定我的IDE会再次改变。 .sln文件中是否真的没有足够的细节从Ultimate移动到Pro而没有错误?!

修改:我尝试了以下内容:

  • VS2013 Pro(更新5)的已安装更新
  • 关闭VS,删除.suo文件
  • 重置设置(工具>导入和导出设置...>重置所有设置)

1 个答案:

答案 0 :(得分:0)

发布"答案"如果有人碰到这个......

由于它编译,我只是禁用了Intellisense错误并忽略了该问题。不完美,但它有效。