29 Apr
2009
29 Apr
'09
9:17 p.m.
Using inkscape-21256 snapshot (because release version has bug causing core dump when attempting to change fill color as reported numerous times).
src/display/nr-arena-shape.cpp has #include <fenv.h>
But I don't see any use of floating-point definitions, FE* macros, or fe*() functions.
I commented that line out and inkscape built fine. (Also some platforms don't have any fenv.h.)
Also src/live_effects/lpe-dynastroke.cpp uses fmin and fmax.
Some platforms don't have that. So I added to src/live_effects/lpe-dynastroke.cpp :
#define fmin(a,b) ((a)<(b)?(a):(b)) #define fmax(a,b) ((a)>(b)?(a):(b))
Also work/inkscape-21256/src/display/nr-filter.cpp refers to fmax but it is commented out.