Visual Studio 2010 Intellisense引发错误错误 [英] Visual Studio 2010 Intellisense throwing false errors

查看:649
本文介绍了Visual Studio 2010 Intellisense引发错误错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经写了一个2D游戏引擎大约两年了,最近intellisense一直在抛出错误的错误。代码编译,链接和运行很好,但是会有超过70个由intellisense报告的错误:

I've been writing a 2D game engine for about two years now, recently intellisense has been throwing false errors. The code compiles, links and runs just fine but there will be upwards of 70 "errors" reported by intellisense:

我试图删除测试项目和库的SQL文件发电机项目,但错误停止一个,只有一个,构建,而智能数据库重建。

I tried deleting the SQL file for both the test project and the library generator project but the errors stopped for one, and only one, build while the intellisense database was rebuilt.

即使它不是有害的或阻止我从编码它是相当恼人

Even though it is not detrimental or stopping me from coding it's quite annoying to have to scroll all the way to the bottom to find the real error(s) when there is one.

推荐答案

解决了这个问题。

这确实是一个配置问题。智能感知不喜欢相对路径。我在VC ++目录列表中添加了除相对路径之外的绝对条目,一切都很好。

It indeed was a configuration problem. Intellisense does not like relative paths. I added entries in the VC++ Directory listings that were absolute in addition to the relative paths and all is well.

这篇关于Visual Studio 2010 Intellisense引发错误错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆