From 9827d4aa03723be43778c7fe70beb048d8eac94c Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 26 Dec 2021 08:24:53 -0600 Subject: [PATCH] When building with -funsigned-char, warning about passing a "char *" to an "unsigned char *" is 100% useless. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index effba7d0..dedc9779 100755 --- a/configure +++ b/configure @@ -13,7 +13,7 @@ fi # CFLAGS and OPTIMIZE are different so you can add extra CFLAGS without # disabling default optimizations -[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts -Werror=implicit-function-declaration" +[ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts -Werror=implicit-function-declaration -Wno-pointer-sign" # Required for our expected ABI. we're 8-bit clean thus "char" must be unsigned. CFLAGS="$CFLAGS -funsigned-char" [ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -fno-asynchronous-unwind-tables -fno-strict-aliasing" -- 2.39.2