How do trace statements get removed from function bodies in release mode?

On 9/6/18, 2:13 PM, "Harbs" <harbs.li...@gmail.com> wrote:

    I see code like this in MXRoyale:
    
                        if (GOOG::DEBUG)
                                trace("get_uid not implemented");
    
    I’m not aware of a reason to use compiler definitions for this.
    
    trace statements get stripped out on release. Why do we need this?
    
    Harbs

Reply via email to