[geos-devel] GCC 6 build error
strk at keybit.net
Wed Mar 2 08:13:14 PST 2016
On Wed, Mar 02, 2016 at 05:02:04PM +0200, Devrim GÜNDÜZ wrote:
> Greetings first: I'm new to list, and I'm maintaining the community RPMS for
> PostgreSQL and related software.
Thank you Devrim !
> GeOS 4.5.0 is throwing errors with GCC 6.0.0 . GCC 6 is due with Fedora 24 on
> ../../../include/geos/platform.h:114:2: error: #error "Can not compile without isnan function or macro"
> #error "Can not compile without isnan function or macro"
Could you please also report snippets from configure where
NAN is seeked for ?
This is the snippet, in configure.ac, to look for it:
AC_CACHE_CHECK([for isnan], ac_cv_isnan,
[double x; int y; y = isnan(x);],
if test x"$ac_cv_isnan" = x"yes"; then
AC_DEFINE(HAVE_ISNAN, , [Has isnan])
Best would be to file a ticket for this, btw:
() Free GIS & Flash consultant/developer
More information about the geos-devel