summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/CC/TARGETS.grpc4
-rw-r--r--etc/defaults/CC/TARGETS.protobuf6
2 files changed, 7 insertions, 3 deletions
diff --git a/etc/defaults/CC/TARGETS.grpc b/etc/defaults/CC/TARGETS.grpc
index 2d78ddda..b562de40 100644
--- a/etc/defaults/CC/TARGETS.grpc
+++ b/etc/defaults/CC/TARGETS.grpc
@@ -44,6 +44,10 @@
, "-DOSATOMIC_USE_INLINED=1"
]
}
+ , { "type": "case"
+ , "expr": {"type": "var", "name": "COMPILER_FAMILY"}
+ , "case": {"gnu": ["-Wno-clobbered"]}
+ }
, { "type": "if"
, "cond": {"type": "var", "name": "DEBUG"}
, "then": ["-D_DEBUG", "-DDEBUG"]
diff --git a/etc/defaults/CC/TARGETS.protobuf b/etc/defaults/CC/TARGETS.protobuf
index ed80cbdd..bc78b33a 100644
--- a/etc/defaults/CC/TARGETS.protobuf
+++ b/etc/defaults/CC/TARGETS.protobuf
@@ -18,9 +18,7 @@
, "expr": {"type": "var", "name": "COMPILER_FAMILY"}
, "case":
{ "msvc":
- [ "/wd4018"
- , "/wd4065"
- , "/wd4146"
+ [ "/wd4065"
, "/wd4244"
, "/wd4251"
, "/wd4267"
@@ -35,6 +33,7 @@
]
, "gnu":
[ "-Wall"
+ , "-Woverloaded-virtual"
, "-Wno-sign-compare"
, "-Wno-sign-conversion"
, "-Wno-unused-function"
@@ -43,6 +42,7 @@
}
, "default":
[ "-Wall"
+ , "-Woverloaded-virtual"
, "-Wno-sign-compare"
, "-Wno-sign-conversion"
, "-Wno-unused-function"