Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YXVuh-0003Tr-W2 for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Mar 2015 14:22:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YXVuh-0008BY-AH for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Mar 2015 14:22:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YXVug-0008BR-Bf for pgsql-bugs@postgresql.org; Mon, 16 Mar 2015 14:22:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YXVud-00073G-0G for pgsql-bugs@postgresql.org; Mon, 16 Mar 2015 14:22:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t2GEMWBr029885; Mon, 16 Mar 2015 10:22:32 -0400 From: Tom Lane To: lr@pcorp.us cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12869: PostGIS 2.2 can't compile against 9.5 dev branch In-reply-to: <20150316045119.4795.70848@wrigleys.postgresql.org> References: <20150316045119.4795.70848@wrigleys.postgresql.org> Comments: In-reply-to lr@pcorp.us message dated "Mon, 16 Mar 2015 04:51:19 -0000" Date: Mon, 16 Mar 2015 10:22:32 -0400 Message-ID: <29884.1426515752@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 . 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 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