From kde-commits Sun Dec 23 15:00:28 2007 From: "Jaison Lee" Date: Sun, 23 Dec 2007 15:00:28 +0000 To: kde-commits Subject: Re: KDE/kdelibs/kdecore/io Message-Id: <2d720bd30712230700o6cdece57jb76b714f80381a19 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-commits&m=119842209715740 > > Fix release mode compiling. > > > > --- trunk/KDE/kdelibs/kdecore/io/kdebug.h #752074:752075 > > #if !defined(KDE_NO_DEBUG_OUTPUT) > > # define kDebug KDebug(QtDebugMsg, __FILE__, __LINE__, Q_FUNC_INFO) > > -#else > > -# define kDebug if (1); else kDebug > > #endif > > #if !defined(KDE_NO_WARNING_OUTPUT) > > # define kWarning KDebug(QtWarningMsg, __FILE__, __LINE__, Q_FUNC_INFO) > > -#else > > -# define kWarning if (1); else kWarning > > #endif > > > argh. have you read my mail? revert that. I don't see the intelligence in reverting something that fixes compilation. If you can fix it while still allowing all the people who want to run in Release mode to do so feel free.