On 19/05/2008, at 12:09 AM, J.B.C.Engelen@...1578... wrote:
The problem was that 2Geom did not put its "#ifndef __ISNAN_H__ #define __ISNAN_H__" in its own namespace; i.e. the defines to check whether 2geom/ isnan.h was already included or not. Inkscape's isnan.h uses the same defined name to check this, so...
I updated to latest 2geom, now the problem should be solved.
Still, one cannot include 2geom files *after* including Inkscape's isnan.h; a permanent solution is to capitalize the macros in Inkscape's isnan.h.
I'm pretty sure that when lib2geom was started, it just took Inkscape's current isnan.h. Since these definitions are equivalent, isn't the right thing to avoid these clashes just to remove Inkscape's isnan.h completely, and just use the lib2geom one everywhere?
Cheers, Michael
------ Michael Wybrow Clayton School of Information Technology Monash University, Wellington Road, Clayton, Vic 3800, Australia Phone: +613 9905 2479