[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: KDE/kdelibs/kate/mode
From: Sebastian Pipping <webmaster () hartwork ! org>
Date: 2007-10-16 21:44:54
Message-ID: 471530D6.9010101 () hartwork ! org
[Download RAW message or body]
Anders Lund wrote:
>> Btw I used a macro to get zero debug speed loss for
>> releases builds. Would be cool if we could make that
>> configurable from outside the sources. If you like
>> it would could use it at other places, too.>
>
> Such as #define KDebug // ?
Afaik that doesn't work since the preprocessor
also understands comments. The current approach
is
#ifdef bar
# define FOO(x) kDebug() << x
#else
# define FOO(x)
#endif
FOO("abc" << "def");
Sebastian
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic