[geos-devel] platform.h and config.h

Paul Ramsey pramsey at opengeo.org
Thu Nov 26 15:40:29 EST 2009


I'm tracking down a build failure in Solaris, which is happening because the code is trying to use an std::isnan() that is not there. It is odd, because ./configure is correctly detecting the presence of a cmath isnan(), but the code isn't using it.

What I am seeing is that platform.h has the proper switches in place to handle the problem, but nowhere is config.h, which contains the results of the configure run included, so the switches never actually move.

Can someone confirm my diagnosis and solution (add config.h into platform.h at the top) before I make this core change to the build?

Paul


More information about the geos-devel mailing list