Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Multiple errors detected, while compiling is ok
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

astepanov
New Member

Russia
2 Posts

Posted - Sep 08 2020 :  05:57:12 AM  Show Profile  Reply with Quote
I have a rather big project in c++. I use cmake to generate VS 2017 sln files. Among many external dependenies, I use Boost libs, in particular, asio. Recently, I started to notice that some of my files in the project are just covered with errors found by VAssist. Compiling finishes successfully though. Following error messages, I found out that VAssist cannot find or parse Boost headers.

https://forums.wholetomato.com/forum/uploaded/astepanov/20209855111_ba.png

In this image it says it cannot find ip in boost::asio namespace. While <boost/asio.hpp> header clearly contains other headers which define ip namespace.

VS project contains path to Boost in Additional Include Headers. I tried creating a small project with similar structure, include boost asio there. But everything is parsed just fine there. I did Clear and Rebuild without luck.

Any help is appreciated.

Edited by - astepanov on Sep 08 2020 05:59:46 AM

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Sep 08 2020 :  06:27:53 AM  Show Profile  Reply with Quote
Can you please see if you have disabled the IDE's intellisense database? This can be done via the setting:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Database = True

if the IDE intellisense database is active, which is the default situation, then the underlining will be coming from the IDE, not from VA. Another way to check if this underlining is coming from VA is to change the colour set via:

VA Options -> Underlining -> Underline unrecognized symbols using

and see if the colour of the underlining changes to match your new colour.

zen is the art of being at one with the two'ness
Go to Top of Page

astepanov
New Member

Russia
2 Posts

Posted - Sep 08 2020 :  07:56:27 AM  Show Profile  Reply with Quote
That was Intellisense!

Shame on me.

Thanks!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Sep 08 2020 :  11:06:35 AM  Show Profile  Reply with Quote
Really not a problem, we try to integrate so smoothly with the IDE that you cannot tell where one stops and the other starts So it is good to know this is working well in this situation.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000