From: Tom Lane <tgl@sss.pgh.pa.us>
To: lr@pcorp.us
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12869: PostGIS 2.2 can't compile against 9.5 dev branch
Date: Mon, 16 Mar 2015 10:22:32 -0400
Message-ID: <29884.1426515752@sss.pgh.pa.us> (raw)
In-Reply-To: <20150316045119.4795.70848@wrigleys.postgresql.org>
References: <20150316045119.4795.70848@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
lr@pcorp.us writes:
> The PostGIS debian Jenkins bot pulls the latest snapshot of 9.5 and compiles
> our upcoming PostGIS 2.2 trunk against it every weekend. This weekend, it
> failed to compile. I'm not sure if it's something that needs changing in
> PostGIS code or some issue in 9.5 recent code changes.
> The error we get is this:
> /pg9.5w64/include/postgresql/internal -D_GNU_SOURCE -c -o lwgeom_geos.o
> lwgeom_geos.c
> lwgeom_geos.c: In function ‘errorIfGeometryCollection’:
> lwgeom_geos.c:1730: error: ‘DBL_DIG’ undeclared (first use in this
> function)
According to the C and POSIX standards, DBL_DIG is defined by <float.h>.
It sounds like you were indirectly depending on some Postgres header to
#include that, and said header no longer does. I'm not sure what bit
of refactoring might've had such an effect, but it doesn't much matter
--- you really ought to #include <float.h> for yourself.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, lr@pcorp.us
Subject: Re: BUG #12869: PostGIS 2.2 can't compile against 9.5 dev branch
In-Reply-To: <29884.1426515752@sss.pgh.pa.us>
References: <20150316045119.4795.70848@wrigleys.postgresql.org> <29884.1426515752@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox