From kde-core-devel Tue Dec 21 18:56:11 1999 From: David Faure Date: Tue, 21 Dec 1999 18:56:11 +0000 To: kde-core-devel Subject: Re: RFC: Strategy for integrating the Nana debugging library X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94580259527601 On Tue, Dec 21, 1999 at 06:48:41PM +0100, Mirko Sucker wrote: > David Faure wrote: > > Which is EXACTLY why I suggested I would improve kdebug, to allow > > for a default kdebug configuration (kdebugrc), which would turn off > > all debug output, for releases. The rest of the time, debug output > > from most libraries would be turned off as well, and only turned > > on when debugging a particular library. > > > > This would be a lot easier than keeping adding and removing > > debug output from the apps all the time, which we do currently. > I support that. > Will the possibility to completely erase all debugging calls remain > (Simply requires kdebug to be a macro or inlined with empty body)? Finally, the answer is yes. With NDEBUG, kDebug becomes a macro instead of a function (just like it was before with kdebug). -- David FAURE david@mandrakesoft.com, faure@kde.org http://home.clara.net/faure/ KDE, Making The Future of Computing Available Today