warning: invoking macro kDebug argument 1: empty macro arguments are undefined in ISO C90 and ISO C++98

Stephen Kelly steveire at gmail.com
Wed Jan 20 03:54:42 GMT 2010

David Faure wrote:

> On Saturday 16 January 2010, Stephen Kelly wrote:
>> Hi,
>> These warnings started appearing in January at some stage while I build
>> KDE. Did some extra warnings flag get set? Can I turn it off? It drowns
>> real warnings.
> You must be using -pedantic in your CXXFLAGS, if you see that warning.
> I suggest to remove the flag, since we didn't find a way to tell gcc to
> shut up about the new kDebug macros, when using it.

Thanks. I've turned it off now. I got the same answer on IRC.

All the best,


More information about the kde-core-devel mailing list