Download raw body.
Pointer sign warnings
On Tue, 28 Sep 2021 16:48:40 +0200, Christian Weisgerber wrote: > How do we want to handle this? Adapt the world to Got or vice versa? > > We could add -Wno-pointer-sign to -portable. It's what I did for > my existing FreeBSD port. That seems like the simplest approach. > Alternatively, I could sit down and try to eliminate the warnings > by adjusting the type of buffer variables etc. I guess that will > take a recursive approach: Start at the calls of external interfaces > (zlib...), then work up the call chain. If we go down that route, > I suggest that we later add -Wpointer-sign to the development CFLAGS. This seems like a lot of work for little gain. I started to do this in OpenBSD and it quickly ballooned into a huge project, at which time I dropped it. - todd
Pointer sign warnings