Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 An Old problem about �if A_MACRO(x)�

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
superzmy Posted - Dec 23 2025 : 03:14:00 AM

#define LIKELY(x) (x)
#define ZZ
class A
{
    void a()
    {
        int x = 0;
        if LIKELY(x) ZZ // remove "ZZ" to watch changing of "VAOutline"
        {

        }
    }
    void b()
    {

    }
};

wihtout "ZZ", VA parse the code wrong.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Dec 23 2025 : 07:18:51 AM
Thank you for the clear example, I have seen odd things like this before, occasionally. I think this is covered by:

case=149467

so I have added this example to the case. Thank you for finding and sharing the work around, that is interesting! I can see people not liking it, but it is good to have the option regardless.

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