Error in kdeartwork in screensavers added from #70246
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: *** [vec3.o] Error 1
gmake: Leaving directory
This is on FreeBSD 4-STABLE (gcc 2.95). In the source there's this bit:
// 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.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
Size: 187 bytes
More information about the kde-core-devel