[master] 05780b634 disable -Wcast-qual because of musl
Guillaume Quintard
guillaume at varnish-software.com
Fri Apr 2 15:13:05 UTC 2021
commit 05780b634c40233dd2494a2c76a8dd8ba72d79f8
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date: Fri Apr 2 08:11:27 2021 -0700
disable -Wcast-qual because of musl
diff --git a/wflags.py b/wflags.py
index f5dedf7e6..3c5e6d093 100644
--- a/wflags.py
+++ b/wflags.py
@@ -44,7 +44,6 @@ DESIRABLE_OPTIONS = [
DESIRABLE_WFLAGS = [
"-Wcast-align",
- "-Wcast-qual",
"-Wchar-subscripts",
"-Wempty-body",
"-Wextra",
@@ -69,6 +68,7 @@ DESIRABLE_WFLAGS = [
]
UNDESIRABLE_WFLAGS = [
+ "-Wno-cast-qual", # GCC complains about musl::sched.h
"-Wno-thread-safety", # Does not understand our mutexs are wrapped
"-Wno-old-style-definition", # Does not like vgz
"-Wno-sign-compare", # Fixable
More information about the varnish-commit
mailing list