No NDEBUG in release mode

Allen Winter winter at kde.org
Thu Dec 20 19:57:15 CET 2007


On Thursday 20 December 2007 13:31:00 Allen Winter wrote:
> On Thursday 20 December 2007 11:31:29 Thiago Macieira wrote:
> > Allen Winter wrote:
> > >Counter proposal:
> > >
> > 
> > You probably want to add KDE_NO_DEBUG_OUTPUT as well.
> > 
> > Or modify kdebug.h.
> 
> Thiago,
> Wouldn't defining QT_NO_DEBUG be better?
> 
> Reading kdebug.h, it seems that defining QT_NO_DEBUG also
> gives us KDE_NO_DEBUG_OUTPUT??
> 
committed.
in release compile mode NDEBUG and QT_NO_DEBUG should now be defined
for C and C++ compiles.





More information about the Kde-buildsystem mailing list