No NDEBUG in release mode

Thiago Macieira thiago at kde.org
Thu Dec 20 20:03:36 CET 2007


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??

You're correct.

QT_NO_DEBUG can be used as well. That will turn off qDebug() too, in the 
few places where it is used.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20071220/2dd32839/attachment.pgp 


More information about the Kde-buildsystem mailing list