
On 2007-03-16, at 09:20, jiho wrote:
I think that with gcc 3.3 on Mac you had to use: #define isNaN(_a) (__isnan(_a)) #define isFinite(_a) (__isfinite(_a)) This is judging by the state of isnan.h before I started committing Tiger changes to it.
Could you please see if it compiles with: #define isFinite(_a) (__isfinite(_a))
If it does I will add the following case to src/isnan.h for SVN and for the release branch: #if defined(__APPLE__) && __GNUC__ == 3 # define isFinite(_a) (__isfinite(_a)) // MacOSX definition gcc 3.x
Hi areozol, so michael looked at your issue with his usual efficiency. here is the modified file (attached). you need to put it in src/ in the inkscape directory (replacing the version that is already there) and then try to recompile (./osx-build b). In addition my build script is now in Inkscape code base so will be in the next version (in 0.45.1). If your compilation issue is solved, we are close to having Inkscape packages for 10.3.9!
<isnan.h> Keep me informed.
I have substituted the appropriate header files with this attachements, and I still get this error:
object-edit.cpp: In function `void sp_spiral_outer_set(SPItem*, const NR::Point&, const NR::Point&, unsigned int)': object-edit.cpp:921: error: `isfinite' undeclared in namespace `std' make[2]: *** [object-edit.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I have started the compilation just from scratch, from freshly unpacked archives, just for sure.