On Fri, Dec 21, 2007 at 11:03:12PM +0100, Oswald Buddenhagen wrote: > #if !defined(KDE_NO_DEBUG_OUTPUT) > # define kDebug KDebug(QtDebugMsg, __FILE__, __LINE__, # Q_FUNC_INFO) > #else > # define kDebug if (1); else kDebug > #endif > > this can be properly solved by inlining kDebugDevNull() to return a > fully inline KNoDebugStream like it was in kde3 and how QDebug does. > uhm, actually, this won't help, as the return value cannot be assigned to QDebug then; QDebug itself has the same problem. so unless somebody has a brilliant idea ... -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Confusion, chaos, panic - my work here is done.