[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] Debug/Release flag
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-06-20 6:29:41
Message-ID: 200706200029.41774.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 20 June 2007, Martin Heni wrote:
> Does anybody know whether there is a compiler flag or so which I can use in
> the code to have some parts compiled in only for a debug compile process
> but are removed for the final release code?  Or is this not a good idea
> anyway?
>

#ifndef NDEBUG
... debug code goes here ...
#endif

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic