10 May
2008
10 May
'08
10:51 a.m.
Hi all,
I am having troubles with the is_finite 2geom macro. In Inkscape code, there are cases where an is_finite function is defined (proj_pt.h for example). This goes okay now, only because no 2geom headers are included before that header is included. If the isnan.h header is included before proj_pt.h, the compiler will place the is_finite macro in the function definition and compilation will fail. (on windows in any case)
I see 2 options: 1. change the is_finite function name in proj_pt.h 2. change the is_finite macro name in 2geom/isnan.h to something less clashable
Thanks, Johan