[master] 128b02a92 Two -Wno-* which complain about Linux include files
Poul-Henning Kamp
phk at FreeBSD.org
Mon Mar 29 08:47:04 UTC 2021
commit 128b02a927264f4c248ac7c64f67b15bcefd29e2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Mar 29 08:45:49 2021 +0000
Two -Wno-* which complain about Linux include files
diff --git a/wflags.py b/wflags.py
index 6e51bc44b..4aa80275d 100644
--- a/wflags.py
+++ b/wflags.py
@@ -56,7 +56,6 @@ DESIRABLE_WFLAGS = [
"-Wnested-externs",
"-Wpointer-arith",
"-Wpointer-sign",
- "-Wredundant-decls",
"-Wreturn-type",
"-Wshadow",
"-Wstrict-aliasing",
@@ -75,6 +74,8 @@ UNDESIRABLE_WFLAGS = [
"-Wno-old-style-definition", # Does not like vgz
"-Wno-sign-compare", # Fixable
"-Wno-implicit-fallthrough", # Probably Fixable
+ "-Wno-builtin-requires-header", # Complains about linux::pthread.h
+ "-Wno-redundant-decls", # Complains about centos::stdio.h
]
def main():
More information about the varnish-commit
mailing list