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

David Faure faure at kde.org
Tue Jan 19 11:52:42 GMT 2010


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.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kde-core-devel mailing list