Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 C++: enums with macros

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
Marco123 Posted - Aug 22 2013 : 03:24:31 AM
Hello,

I'm using this enum "expansion" http://www.codeproject.com/Articles/32000/Improving-C-Enums-Adding-Serialization-Inheritance.

With this expansion the plugin isn't working correctly (for example "go to" and re-naming aren't possbile).

Is there a way to use the expansion with your plugin?
Thank a lot.

With kind Regards
Marco
3   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Aug 26 2013 : 3:48:13 PM
I'm afraid they won't.
Marco123 Posted - Aug 23 2013 : 12:47:28 AM
Thank a lot for your fast reply.

On other source lines I have no problems. But I'm using these defines very often and it's disappointing to rename these enumes.

The conclusion is that these enums won't work with your plugin?
accord Posted - Aug 22 2013 : 4:00:55 PM
I examined the source code at the link and it's quite a complex solution with heavy use of #ifdefs, #undefs, etc. which VA don't parse completely, partly due to performance considerations. The compiler has plenty of time to resolve virtually anything, but VA has to be reasonably fast even in extremely large solutions.

Do you also have problems in other, unrelated source lines as well, where you don't use the enums? In other word, are you able to rename non-enum symbols? I'm trying to asses the scope of the problem, because this problem should not affect other source lines.

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