[postgis-tickets] [PostGIS] #3243: piles 'o clang warnings in topology

PostGIS trac at osgeo.org
Tue Aug 18 10:47:22 PDT 2015


#3243: piles 'o clang warnings in topology
-----------------------+---------------------------
  Reporter:  pramsey   |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.2.0
 Component:  topology  |    Version:  trunk
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 Line 3277 of postgis_topology.c reads:
 {{{
 snprintf( values[1], 32, INT64_FORMAT, state->elems[state->curr] )
 }}}

 Your error message says that INT64_FORMAT expands to 'long', while
 LWT_ELEMID (int64_t from stdint.h) is 'long long'.
 What system are you on ? Is it a 32bit or 64bit ? Is it PostgreSQL's
 INT64_FORMAT being wrong or stdint.h's int64_t being wrong ?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3243#comment:3>
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-tickets mailing list