Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 Intellisense throwing false errors

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:

Error list window showing false intellisense errors

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.

like image 463
Casey Avatar asked Jun 25 '26 17:06

Casey


1 Answers

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.

like image 150
Casey Avatar answered Jun 27 '26 07:06

Casey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!