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
 1727: VAX and _CPPUNWIND
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

drac
Senior Member

Germany
49 Posts

Posted - Jun 19 2009 :  08:54:16 AM  Show Profile  Reply with Quote
Hi,

Visual Assist doesn't parse correctly _CPPUNWIND and other possible predefined macros (see picture below).

Predefined Macros:

Visual Studio .NET http://tinyurl.com/ngt3w3
Visual Studio 2005 http://tinyurl.com/mxfq29
Visual Studio 2008 http://tinyurl.com/nvhcmy
Visual Studio 2010 http://tinyurl.com/kvk2gh

And the mandatory screenshot:

Cheers!

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jun 19 2009 :  12:13:33 PM  Show Profile  Reply with Quote
What is the problem? If you are looking at the colouring of this std::cout line then this is actually the IDE, it is nothing to do with VA. Try turning off:

IDE tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Colorize inactive code blocks in a different color

and see what happens. This is an interesting IDE feature, but various people, me included, have seen it get the colouring wrong.

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

drac
Senior Member

Germany
49 Posts

Posted - Jun 19 2009 :  12:51:22 PM  Show Profile  Reply with Quote
Thanks for the tip. I thought that VA did that, my bad, sorry.
Should VA do this properly?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jun 19 2009 :  2:17:57 PM  Show Profile  Reply with Quote
An easy mistake to make

No, currently VA does not attempt to work out or colour inactive code. In fact VA is designed to be active and helpful even in inactive code, since just because you are going to want help when editing code that is not active on the current platform.

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