On Wed, 3 Dec 2008, Ruben Smits wrote:
> Hi,
>
> i was compiling the axes components of ocl on my system (MacOSX Leopard). For
> some reason the isnan() function is not available:
What happens if you just #include
Klaas
> the following patch fixes the compile errors, i already made sure it does not
> break things on my Linux-based system.
>
> Ruben
>
>
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
Problem compiling AnalogDrive
Hi,
i was compiling the axes components of ocl on my system (MacOSX
Leopard). For some reason the isnan() function is not available:
the following patch fixes the compile errors, i already made sure it
does not break things on my Linux-based system.
Ruben
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
Problem compiling AnalogDrive
On Wednesday 03 December 2008 14:53:04 Ruben Smits wrote:
> Hi,
>
> i was compiling the axes components of ocl on my system (MacOSX
> Leopard). For some reason the isnan() function is not available:
>
> the following patch fixes the compile errors, i already made sure it
> does not break things on my Linux-based system.
It's a hack which may not work on all platforms. Technically we can't use
isnan/... in C++ code, so we should define a helper .h file which implements or
exposes them. But I'll accept and propose to fix this when we have more info on
how other platforms/compilers provide isnan.
Peter