[master] 9a45810d0 More -Wno, but now with explanation

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 29 09:04:04 UTC 2021


commit 9a45810d0f7f437e55726de4c7cd0c65f3493bcf
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 29 09:02:54 2021 +0000

    More -Wno, but now with explanation

diff --git a/wflags.py b/wflags.py
index 4aa80275d..bd9d27e5f 100644
--- a/wflags.py
+++ b/wflags.py
@@ -52,7 +52,6 @@ DESIRABLE_WFLAGS = [
     "-Wformat-zero-length",
     "-Wmissing-field-initializers",
     "-Wmissing-prototypes",
-    "-Wmissing-variable-declarations",
     "-Wnested-externs",
     "-Wpointer-arith",
     "-Wpointer-sign",
@@ -76,6 +75,7 @@ UNDESIRABLE_WFLAGS = [
     "-Wno-implicit-fallthrough", # Probably Fixable
     "-Wno-builtin-requires-header", # Complains about linux::pthread.h
     "-Wno-redundant-decls", # Complains about centos::stdio.h
+    "-Wno-missing-variable-declarations", # Complains about optreset
 ]
 
 def main():


More information about the varnish-commit mailing list