[postgis-tickets] [PostGIS] #5407: ptarray.c concerning warnings on mingw64

PostGIS trac at osgeo.org
Tue Jun 20 19:26:16 PDT 2023


#5407: ptarray.c concerning warnings on mingw64
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.4.0
Component:  postgis  |    Version:  master
 Keywords:           |
---------------------+---------------------------
 {{{
 ptarray.c: In function 'ptarray_scroll_in_place':
 ptarray.c:2196:2: error: implicit declaration of function 'bzero' [-Werror
 =implicit-function-declaration]
   bzero(getPoint_internal(tmp, 0), ptsize * pa->npoints);
   ^~~~~
 ptarray.c:2196:2: error: incompatible implicit declaration of built-in
 function 'bzero' [-Werror]
 cc1.exe: all warnings being treated as errors
 make[1]: *** [Makefile:219: ptarray.lo] Error 1
 make[1]: Leaving directory '/projects/postgis/postgis-git/liblwgeom'
 make: *** [GNUmakefile:25: all] Error 1

 }}}


 I set my CFLAGS to same as gitlab to catch these notices it was
 complaining about in address standardizer.


 {{{

 CFLAGS=-Wall -fno-omit-frame-pointer -Werror
 }}}

 But now I get the above error.  I'm assuming it's something particular
 about my setup since I think other bots are running with these settings
 and doing fine.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5407>
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