Opened 15 months ago

Last modified 14 months ago

#5407 new defect

ptarray.c concerning warnings on mingw64 — at Version 1

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 3.5.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

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.

Change History (1)

comment:1 by robe, 15 months ago

Description: modified (diff)
Milestone: PostGIS 3.4.0PostGIS 3.5.0
Note: See TracTickets for help on using tickets.