Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VAX Outline: bad view by using preprocessor #ifdef

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
arp Posted - Aug 12 2009 : 09:39:43 AM
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?
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 13 2009 : 1:35:37 PM
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


© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000