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
 VAX 1201: double definition shown
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Nov 24 2003 :  12:32:11 PM  Show Profile
I'm using the following macro to define class variables and accessors.
#define DEFINE_BOOL_VAL(x) \	private: bool m_b##x; \	public: bool x () { return m_b##x; }


Every variable defined with this macro shows up double in the context list (VA view), also the accessor shows up double. But both point to the same location.
It does however not show up double in the definition bar.

In the members drop list it does not show up at all.

support
Whole Tomato Software

5566 Posts

Posted - Nov 27 2003 :  01:19:17 AM  Show Profile
Do you have multiple definitions for DEFINE_BOOL_VAL? Maybe in another file? Just tried it and I get one member and method for each.

Whole Tomato Software, Inc.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Nov 27 2003 :  07:43:15 AM  Show Profile
I guess this is more related to http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=903 than to the macro. The macro is defined in multiple files, but definitions are redundant.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000