Error in kdeartwork in screensavers added from #70246

Michael Nottebrock michaelnottebrock at
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 

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

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

   ,_,   | Michael Nottebrock               | lofi at
 (/^ ^\) | FreeBSD - The Power to Serve     |
   \u/   | K Desktop Environment on FreeBSD |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
URL: <>

More information about the kde-core-devel mailing list