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
 typedef's in #define's aren't recognized
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tailsu
Senior Member

37 Posts

Posted - Aug 07 2008 :  05:39:47 AM  Show Profile  Reply with Quote
Here is a minimalistic example


class foo
{
	void bar(){}
};

#define goo typedef foo zoo;

goo

int main()
{
	zoo z;
	z.
}


zoo isn't recognized as a type, and code completion at 'z.' doesn't work.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 07 2008 :  3:53:49 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=18985
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