Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1645: Macro typed variables not detected.

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
Krakken Posted - Jul 15 2008 : 03:27:48 AM
Variables that have their types defined in a macro are not being highlighted properly by VAX. In my proper code, the function is also not being highlighted at all but I can't seem to reproduce that in this simple format so it must be something deeper.

#define integer int;

class CIntHolder
{
public:
	integer GetInteger()
	{
		return m_int;
	}
	
protected:
	integer m_int;
};
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 17 2008 : 10:28:32 AM
What happens if you use:

#define FelineVATestBanana float
FelineVATestBanana m_FelineTestUsingThisMacroFloat;


instead? I am wondering if unique symbol names will make any difference.
Krakken Posted - Jul 16 2008 : 10:28:01 PM
This example was taken from a new, default project and I'm seeing the same thing, regardless of name, unfortunately.
feline Posted - Jul 16 2008 : 1:52:29 PM
Do you see the same odd colouring in a new, default project? I am wondering if this is somehow project specific.

Does changing the variable name "m_someVar" to something unique like "khfjkhsdfkjsd" make any difference?
Krakken Posted - Jul 16 2008 : 12:23:46 AM
That's odd... this is what I see:

feline Posted - Jul 15 2008 : 1:31:25 PM
What are you seeing, and what are you expecting to see? This is what I am seeing, using VS2005 and VA 1645. Note I have added a second member variable for reference:



This all looks correct to me, given the colour I have assigned to functions.

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