From 25713852da6ec16e37dd8ad53639d9241bcb4ea0 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 3 Mar 2022 13:45:10 +0100 Subject: External absl: Disable warnings --- etc/defaults/CC/TARGETS.absl | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 etc/defaults/CC/TARGETS.absl (limited to 'etc/defaults') 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"] + } +} -- cgit v1.2.3