New Krazy Check: cpp macros

Allen Winter winter at kde.org
Wed Jun 20 02:50:39 BST 2007


On Tuesday 19 June 2007 5:19:05 pm Jaroslaw Staniek wrote:
> Maksim Orlovich said the following, On 2007-06-19 18:40:
> >> __GNUC__
> > 
> > Any chance you could exclude those if they're just around #warning?
> 
> Ah, Allen -BTW: how about checking whether #warning's are enclosed by #ifdef 
> __GNUC__? (code portability to non-gcc compilers).
> (I am sorry if this check already exists)
> 
> Yes, this could be switched off somewhere on .krazy file, to avoid warning for 
> code being in heavy developemnt or planned as gcc-only for some period of time.
> 

Done.
-Allen




More information about the kde-core-devel mailing list