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
 boost::bind symbol not found
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kmw
Junior Member

10 Posts

Posted - Sep 16 2008 :  9:33:50 PM  Show Profile  Reply with Quote
I've read some other problems related to VA X and boost::bind. We're evaluating VA X for a possible purchase for our group. We're heavy users of boost and of boost::bind, so having this not work could be a deal breaker. The main problem is that the symbol is underlined as an unknown symbol and so is not highlighted properly in addition. The rest of boost that I've sampled in our source code seems to display correctly in VA X. Having to put sprinkle workarounds of defining "namespace boost { void bind ( ... ); }" in our code may not fly as a solution. Is there an update on this issue, will this be fixed?

system info:
VA_X.dll file version 10.4.1647.0 built 2008.07.30
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
Single processor

Platform: Custom
Stable Includes:
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
c:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
C:\\p4.2\\hw\\tools\\boost\\boost-1.33.0;
C:\\p4.2\\hw\\tools\\wxWidgets-2.8.8\\include;

Other Includes:

Stable Source Directories:
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
c:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 17 2008 :  3:27:52 PM  Show Profile  Reply with Quote
Unfortunately boost::bind being underlined as a mistyped symbol is a known problem and is on our list of things to fix:

case=9325

If you turn on:

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

this should help with listboxes. Generally VA should work correctly with both Boost and wxWidgets.

If you find that namespace boost { void bind ( ... ); } helps then try adding this to VA's StdAfx.h file as explained in this FAQ entry:

http://docs.wholetomato.com?W302

at the bottom. This file is used to help VA's parser with difficult code, and can be used to work around odd effects. After modifying this file you need to rebuild the VA symbol database for the changes to take effect:

VA Options -> Performance -> General -> Rebuild symbol databases

This way you only need to make the change once, in one place, and it does not impact your actual solution code.

Are you seeing other problems as well as boost::bind ?

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

kmw
Junior Member

10 Posts

Posted - Sep 17 2008 :  4:37:48 PM  Show Profile  Reply with Quote
> Are you seeing other problems as well as boost::bind ?

Thanks for the reply.
I have two other messages on the forums. In one of our projects it seems the STL (from VC default libraries) is not being parsed correctly, or something in the project is preventing it from being parsed correctly (e.g., with "std::vector", "vector" is highlighted as a method instead of as a stable included class. In small toy projects it seems to work fine.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Sep 17 2008 :  6:50:10 PM  Show Profile  Reply with Quote
I think I have now replied to your other threads. I have just replied to the std::vector thread

Does modifying VA's StdAfx.h file help with the boost::bind underlining?

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

kmw
Junior Member

10 Posts

Posted - Sep 17 2008 :  7:17:20 PM  Show Profile  Reply with Quote
Yes, that seems to have worked. I had to add an entry for boost::function0 as well.
Go to Top of Page

GKarRacer
Ketchup Master

USA
58 Posts

Posted - Oct 01 2009 :  4:17:37 PM  Show Profile  Reply with Quote
Has this ever been fixed? Or is the stdafx.h modification still the way to go? I still see this phenomenon.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 02 2009 :  08:57:38 AM  Show Profile  Reply with Quote
Unfortunately this is still an outstanding bug, so for now the stdafx.h modification is the way to go. This thread should be updated when the problem is fixed.

Some of the boost library code is quite complex to parse, and it is causing us some problems, as you can see.

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