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

PostGIS trac at osgeo.org
Tue Sep 8 09:46:52 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 robe):

 I was reading about this some more.  Not sure why the warning is only
 happening in cb_checkTopoGeomRemEdge, but things I've read say that
 mingw64 puts out this mostly harmless warning because some older msvcrt
 dlls don't support l. So since at runtime it relies on msvcrt, it could
 end up using a runtime of msvcrt that doesn't support.

 http://comments.gmane.org/gmane.comp.gnu.mingw.w64.general/4670

  One suggestion use define __USE_MINGW_ANSI_STDIO macro before
 including stdio.h.
 as described here:
 http://permalink.gmane.org/gmane.comp.gnu.mingw.w64.general/4674


 I'm not sure it's worth fixing, as I suspect whatever msvcrt doesn't
 support this might be too old for me to care about.

 I'm also a bit puzzed since the warning is coming on a postgresql append
 string call which I thought only uses ANSI int implementations (which is
 why we can't use the PRI thing in the first place)

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