[postgis-devel] [PostGIS] #1736: cunit failure on mingw64 rc1 - 1.#INF

PostGIS trac at osgeo.org
Wed Apr 4 13:07:43 PDT 2012

#1736: cunit failure on mingw64 rc1 - 1.#INF
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.1
Component:  postgis  |     Version:  trunk        
 Keywords:           |  

Comment(by mwtoews):

 This is compiler-specific, defined in a macro `INFINITY` in math.h for C99

 However, there is a good hint on
 [http://trac.osgeo.org/postgis/browser/trunk/regress/regress.sql#L88 line
 88 of regress.sql], which could be modified to use a better regexp:
 select '62', regexp_replace(ST_asewkt('POINT( 1e700 0)'::GEOMETRY),
 '(Infinity|1\.#INF)', 'inf');

Ticket URL: <http://trac.osgeo.org/postgis/ticket/1736#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.

More information about the postgis-devel mailing list