summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-05-12 15:32:57 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-05-12 16:50:52 +0200
commit35ac3f6b68a462f0a0513801e64797653cdb1251 (patch)
tree6c0b78fa0c8f434366540fe8222804d66c16318b
parent84bdd8cd113048c3fc4dd7c44087aabf769d9eaf (diff)
downloadjustbuild-35ac3f6b68a462f0a0513801e64797653cdb1251.tar.gz
external: silence additional warnings from dependencies...
...missed so far. These are not actionable from our side.
-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"