From da1e903e244a34c31e9728b80c1a2ce421166aaf Mon Sep 17 00:00:00 2001 From: Lee Date: Mon, 2 Jan 2023 14:05:10 -0500 Subject: [PATCH] doc nit: no longer so many warnings for implicit-fallthrough MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The old pcre code included with Privoxy had lots of fallthroughs but that code is gone and the only implicit-fallthrough left is: w32log.c: In function ‘LogWindowProc’: w32log.c:1189:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1189 | g_bShowLogWindow = wParam; | ~~~~~~~~~~~~~~~~~^~~~~~~~ w32log.c:1190:7: note: here 1190 | case WM_SIZE: /* note: implicit-fallthrough */ | ^~~~ --- windows/MYconfigure | 2 -- 1 file changed, 2 deletions(-) diff --git a/windows/MYconfigure b/windows/MYconfigure index 6f73b98a..5acc59da 100755 --- a/windows/MYconfigure +++ b/windows/MYconfigure @@ -92,8 +92,6 @@ CFLAGS="${CFLAGS} -Wall" # see: http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html # -Wall doesn't actually turn on all warnings, so add -Wextra # but then plenty too many complaints by -# -Wimplicit-fallthrough=3 -# too many warnings in pcre/study.c & pcre.c # -Wmissing-field-initializers # -Wsign-compare # -Wtype-limits -- 2.39.2