nodepath.cpp compile failure with gcc3; which isnan.h?
Hello, I did 'svn up' to version 16183 and hit trouble in nodepath.cpp when building with gcc 3.3 under OS X 10.3.:
... g++ ... nodepath.cpp ... 2geom/linear.h:90: error: `isfinite' undeclared in namespace `std'
I noticed that src/2geom/linear.h includes src/2geom/isnan.h, which is a bit different from src/isnan.h. The former does not have gcc3/apple ifdefs.
Was isnan.h copied into 2geom at some point, and if it should be the same file, why not just let the include path find the one in src/?
By the way, replacing src/2geom/isnan.h with src/isnan.h (which has the ifdef gcc3 stuff) does not fix this.
Thanks, John
On Fri, 5 Oct 2007 12:47:15 -0600, "John Faith" <jfaith7@...400...> wrote:
Was isnan.h copied into 2geom at some point, and if it should be the same file, why not just let the include path find the one in src/?
2geom is actually a distinct library which has had a copy imported into the source tree for the time being until the upstream library matures and is taken up by Linux distributions.
Any changes under src/2geom should be pushed upstream to the lib2geom maintainers.
-mental
participants (2)
-
John Faith
-
MenTaLguY