"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: use size_t for loop indices to avoid signedness comparison warnings
To:
gameoftrees@openbsd.org
Date:
Thu, 26 Nov 2020 16:43:23 +0100

Download raw body.

Thread
Stefan Sperling:

> Which compiler flags are you using on FreeBSD?
> I have tried to reproduce the warnings you saw. 

Note that OpenBSD has modified clang to disable -Wpointer-sign by
default, see clang-local(1).  Concomitantly, OpenBSD code is very
unclean about char* vs. unsigned char*.

I had to add -Wno-pointer-sign in the FreeBSD port so I wouldn't
be overwhelmed by warnings of no practical relevance.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de