[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:32: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):

 On my system (ubuntu 64bit), the PRId64 macro expands to "ld", and int64_t
 is a typedef to a "long int".

 You can check what happens on your system using the -E switch to gcc:

 {{{
  gcc -Wall -E testint.c | grep '\(printf.*x)\| int64_t;\)'
 }}}

 Output on my system:
 {{{
 typedef long int int64_t;
   printf("%" "l" "d", x);
 }}}

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