Re: #warning for msvc

2011-04-06 Thread Jaroslaw Staniek
On 6 April 2011 22:57, Pierre Stirnweiss wrote: > 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. ah, forgot that IIRC it's added by me :) -- regards / pozdrawiam, Jaroslaw Staniek  http

Re: #warning for msvc

2011-04-06 Thread Pierre Stirnweiss
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 wrote: > Just a note, for handy WARNING macro please look at > kexi/kexidb/kexidb_global.h (#w

#warning for msvc

2011-04-06 Thread Jaroslaw Staniek
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 WARN