Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Outline: #pragma statements in initialiser list

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
Maxim Posted - Oct 30 2011 : 4:04:15 PM
For example:

class A
{
	A();
};

A::A()
#pragma warning(push)
#pragma warning(disable:4355) // Using "this" in initializer list
: somethingThatIsNotGoingToDeferenceMeYet(this),
#pragma warning(pop)
{}


If you remove the #pragmas, you get a VA Outline that's fine, but with them there it's quite messed up.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 31 2011 : 12:33:51 PM
I am seeing the same effect here. Thank you for the clear description.

case=11545

I have seen this before, occasionally, but only with a single #pragma line, so it is good to know to watch out for more than one #pragma line when fixing this. As you see, this is confusing our parser.

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