Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Problem with variables

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
diavo Posted - Jun 13 2006 : 04:15:00 AM
Variables are not recognized as variables in methods, that define the operator << or >>:

CWaypoint &CWaypoint::operator =(const CWaypoint &rhs)
{
	quint32 test;
}
void operator >>(QDataStream &dataStream,
				 CWaypoint *waypoint)
{
	quint32 test;
}

In the upper example, VA 1522 colores the variables as a local ones. In the lower method not.
At the last final release, that was no problem.
1   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jun 13 2006 : 10:40:34 AM
Thanks, this will be fixed in build 1523.

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