11 Jun
2005
11 Jun
'05
3:38 p.m.
Am 11.06.2005 16:58 schrieb Christoph Leuzinger:
I'm unable to compile from CVS. The build fails with the following error message:
object-edit.cpp: In function `void sp_spiral_outer_set(SPItem*, const NR::Point&, const NR::Point&, unsigned int)': object-edit.cpp:846: error: parse error before `(' token object-edit.cpp:846: error: parse error before `?' token
OK, I found the error. To compile on NetBSD, I had to change line 39 in "src/isnan.h" from
#define isFinite(a) (std::isfinite(a))
to
#define isFinite(a) (isfinite(a))
(The Right Way[tm] to do this is of course to define something for NetBSD like for Win32 and Apple.)
Christoph