[postgis-tickets] [PostGIS] #3206: winnie crashing with topology ST_AddModeFace in C commit 9.3 w32 bit run

PostGIS trac at osgeo.org
Sun Jul 19 03:29:14 PDT 2015


#3206: winnie crashing with topology ST_AddModeFace in C commit 9.3 w32 bit run
-----------------------+---------------------------
  Reporter:  robe      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  blocker   |  Milestone:  PostGIS 2.2.0
 Component:  topology  |    Version:  trunk
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 warning: format '%d' expects argument of type 'int', but argument 4 has
 type 'LWT_ELEMID'

 The above means that PRId64 macro expands to 'd' while %d is not good to
 print LWT_ELEMID which should expand to int64_t.

 Could you please try this simple test:
 {{{
 --- testint.c ---
 #include <stdint.h>
 #include <inttypes.h>
 #include <stdio.h>
 int main()
 {
   int64_t x = 1;
   printf("%" PRId64, x);
   return 0;
 }
 }}}

 Compile with:
 gcc -Wall -o testint testint.c

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3206#comment:9>
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