Error in kdeartwork in screensavers added from #70246
steleman at nyc.rr.com
Sun Jun 20 21:13:52 BST 2004
Does this work:
using namespace std;
static const double doubleNaN =
On Saturday 19 June 2004 14:22, Michael Nottebrock wrote:
> 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
> #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?
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com -Monty Python
More information about the kde-core-devel