Error in kdeartwork in screensavers added from #70246

Michael Nottebrock michaelnottebrock at gmx.net
Sat Jun 19 19:22:54 BST 2004


vec3.cpp: In function `static double vec3<double>::cos_angle(const 
vec3<double> &, const vec3<double> &)':
vec3.cpp:96:   instantiated from here
vec3.cpp:80: `NAN' undeclared (first use this function)
vec3.cpp:80: (Each undeclared identifier is reported only once
vec3.cpp:80: for each function it appears in.)
gmake[4]: *** [vec3.o] Error 1
gmake[4]: Leaving directory 
`/tmp/a/ports/x11-themes/kdeartwork/work/kdeartwork/kscreensaver/kdesavers'

This is on FreeBSD 4-STABLE (gcc 2.95). In the source there's this bit:

#ifndef _ISOC99_SOURCE
// NAN is not defined by default for gcc 2.95. Enable the ISO C99 extensions
// which includes the definition of NAN.
#define _ISOC99_SOURCE 1
#endif

but it obviously doesn't work. What to do?

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040619/3ff0867a/attachment.sig>


More information about the kde-core-devel mailing list