This is what I have used to fix all the #warning I encountered. Didn't realise it was actually kde defined. Apparently it is defined in kdewin_export.h.
On Wed, Apr 6, 2011 at 9:20 PM, Jaroslaw Staniek <stan...@kde.org> wrote: > Just a note, for handy WARNING macro please look at > kexi/kexidb/kexidb_global.h (#warning is a GNU extension). > > Yes, could be moved to a shared place for Calligra. Or is it already > somewhere defined by kde-windows? > > The usage is not easy though: > #ifdef __GNUC__ > #warning TODO foo > #else > #pragma WARNING(foo) > #endif > > (note: no need for " " anywhere) > > PS: If someone has time, I suppose we may have a git pre/post commit > hook fixing the warnings and use that at global level in KDE. > > -- > regards / pozdrawiam, Jaroslaw Staniek > http://www.linkedin.com/in/jstaniek > Kexi & Calligra (kexi-project.org, identi.ca/kexi, calligra-suite.org) > KDE Software Development Platform on MS Windows (windows.kde.org) > _______________________________________________ > calligra-devel mailing list > calligra-devel@kde.org > https://mail.kde.org/mailman/listinfo/calligra-devel >
_______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel