[Kst] extragear/graphics/kst/src/plugins/shift

George Staikos staikos at kde.org
Fri Jun 23 12:51:45 CEST 2006


On Friday 23 June 2006 06:43, Brisset, Nicolas wrote:
> > extragear/graphics/kst/src/plugins/shift/shift.c:11: warning:
> > declaration of `nan' shadows a global declaration
> > <built-in>:0: warning: shadowed declaration is here
> >
> > This should be cleaned up I think. In any case, defining nan
> > this way is unportable.  Have a look at kstmath.h.
>
> I was wondering: is it OK for plugins to include kstmath.h, or should
> they be as independent as possible ?

  Technically no they should not include it.  It's quite possible that it will 
have symbols in the library at some point.  They're also supposed to be Kst 
and Qt independent.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list