summaryrefslogtreecommitdiff
path: root/etc/defaults
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-03-03 13:45:10 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-03-03 15:09:11 +0100
commit25713852da6ec16e37dd8ad53639d9241bcb4ea0 (patch)
tree2d5885eb54ee1729328a988ed0c91eb660b78bba /etc/defaults
parentad2ae2cd52f97c6242c8dd56823b1f0bc12dc9b6 (diff)
downloadjustbuild-25713852da6ec16e37dd8ad53639d9241bcb4ea0.tar.gz
External absl: Disable warnings
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/CC/TARGETS.absl56
1 files changed, 56 insertions, 0 deletions
diff --git a/etc/defaults/CC/TARGETS.absl b/etc/defaults/CC/TARGETS.absl
new file mode 100644
index 00000000..c5ecd903
--- /dev/null
+++ b/etc/defaults/CC/TARGETS.absl
@@ -0,0 +1,56 @@
+{ "defaults":
+ { "type": ["CC", "defaults"]
+ , "CC": ["clang"]
+ , "CXX": ["clang++"]
+ , "CFLAGS": []
+ , "CXXFLAGS":
+ [ "-std=c++20"
+ , "-Wall"
+ , "-Wextra"
+ , "-Weverything"
+ , "-Wno-c++98-compat-pedantic"
+ , "-Wno-conversion"
+ , "-Wno-covered-switch-default"
+ , "-Wno-deprecated"
+ , "-Wno-disabled-macro-expansion"
+ , "-Wno-double-promotion"
+ , "-Wno-comma"
+ , "-Wno-extra-semi"
+ , "-Wno-extra-semi-stmt"
+ , "-Wno-packed"
+ , "-Wno-padded"
+ , "-Wno-sign-compare"
+ , "-Wno-float-conversion"
+ , "-Wno-float-equal"
+ , "-Wno-format-nonliteral"
+ , "-Wno-gcc-compat"
+ , "-Wno-global-constructors"
+ , "-Wno-exit-time-destructors"
+ , "-Wno-non-modular-include-in-module"
+ , "-Wno-old-style-cast"
+ , "-Wno-range-loop-analysis"
+ , "-Wno-reserved-id-macro"
+ , "-Wno-shorten-64-to-32"
+ , "-Wno-switch-enum"
+ , "-Wno-thread-safety-negative"
+ , "-Wno-unknown-warning-option"
+ , "-Wno-unreachable-code"
+ , "-Wno-unused-macros"
+ , "-Wno-weak-vtables"
+ , "-Wno-zero-as-null-pointer-constant"
+ , "-Wbitfield-enum-conversion"
+ , "-Wbool-conversion"
+ , "-Wconstant-conversion"
+ , "-Wenum-conversion"
+ , "-Wint-conversion"
+ , "-Wliteral-conversion"
+ , "-Wnon-literal-null-conversion"
+ , "-Wnull-conversion"
+ , "-Wobjc-literal-conversion"
+ , "-Wno-sign-conversion"
+ , "-Wstring-conversion"
+ ]
+ , "AR": ["ar"]
+ , "PATH": ["/bin", "/sbin", "/usr/bin", "/usr/sbin"]
+ }
+}