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
 VAX Outline: bad view by using preprocessor #ifdef
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arp
New Member

Germany
5 Posts

Posted - Aug 12 2009 :  09:39:43 AM  Show Profile  Reply with Quote
I'm using VS2008 and VAX 1727 with C++. When I write the following code snippet in a cpp-file, the outline view was not displayed correct.


Result::Result()
  : m_userReturnCode(0)
  , m_errorDescription()
  , m_errorKind(ErrUnknown)
  , m_ok(true)
#ifdef _DEBUG
  , m_evaluated(false)
#endif
{
}


The preprocessor directive is visible over the method definition.

Can You suppress the preprocessor directive in this context?

feline
Whole Tomato Software

United Kingdom
19015 Posts

Posted - Aug 13 2009 :  1:35:37 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description. I have put in a bug report for this, and added your suggestion about hiding the #ifdef block. Normally we want VA Outline to show the correct outline, but I am not quite sure how else to handle this particular case.

case=30989


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