From ef665c0693a173de7b42588daaccbd07761dc3e3 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 23 Sep 2019 10:43:59 +0200 Subject: [PATCH] ltrace: Add -Wno-unused-local-typedefs Add option to ignore the following issue: source/value.c:287:15: error: typedef 'assert__long_enough_long' locally defined but not used [-Werror=unused-local-typedefs] typedef char assert__long_enough_long[-(sizeof(l) < sizeof(void *))]; ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors --- ltrace.be0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ltrace.be0 b/ltrace.be0 index c6a761d78..b158d8d97 100755 --- a/ltrace.be0 +++ b/ltrace.be0 @@ -52,7 +52,8 @@ SRCURL[0]="https://www.ltrace.org/ltrace_${PKGVERSION}.orig.tar.bz2" #} mee_build() { - bee_build CFLAGS='-Wno-deprecated-declarations -Wno-bool-compare' + bee_build CFLAGS='-Wno-deprecated-declarations -Wno-bool-compare -Wno-logical-not-parentheses \ + -Wno-unused-local-typedefs' } #mee_install() {