Visual Studio 2010 Intellisense throwing false errors

对着背影说爱祢 提交于 2019-12-10 18:08:33

问题


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:

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.


回答1:


Solved.

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.



来源:https://stackoverflow.com/questions/16719527/visual-studio-2010-intellisense-throwing-false-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!