diff options
author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2021-12-27 00:00:00 +0000 |
---|---|---|
committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2022-03-18 15:35:13 +0500 |
commit | f19f813537c7aea1c20749c914e756b54a9c3cf5 (patch) | |
tree | 816ba62ca7c0fa19f2eb46d9e9d6f7dd7c3a744d /C/warn_clang_mac.mak | |
parent | 98e06a519b63b81986abe76d28887f6984a7732b (diff) | |
download | 7zip-21.07.tar.gz 7zip-21.07.tar.bz2 7zip-21.07.zip |
'21.07'21.07
Diffstat (limited to 'C/warn_clang_mac.mak')
-rw-r--r-- | C/warn_clang_mac.mak | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/C/warn_clang_mac.mak b/C/warn_clang_mac.mak new file mode 100644 index 0000000..41044a2 --- /dev/null +++ b/C/warn_clang_mac.mak | |||
@@ -0,0 +1,37 @@ | |||
1 | CFLAGS_WARN_CLANG_3_8_UNIQ = \ | ||
2 | -Wno-reserved-id-macro \ | ||
3 | -Wno-old-style-cast \ | ||
4 | -Wno-c++11-long-long \ | ||
5 | -Wno-unused-macros \ | ||
6 | |||
7 | CFLAGS_WARN_CLANG_3_8 = \ | ||
8 | $(CFLAGS_WARN_CLANG_3_8_UNIQ) \ | ||
9 | -Weverything \ | ||
10 | -Wno-extra-semi \ | ||
11 | -Wno-sign-conversion \ | ||
12 | -Wno-language-extension-token \ | ||
13 | -Wno-global-constructors \ | ||
14 | -Wno-non-virtual-dtor \ | ||
15 | -Wno-switch-enum \ | ||
16 | -Wno-covered-switch-default \ | ||
17 | -Wno-cast-qual \ | ||
18 | -Wno-padded \ | ||
19 | -Wno-exit-time-destructors \ | ||
20 | -Wno-weak-vtables \ | ||
21 | |||
22 | CFLAGS_WARN_CLANG_12= $(CFLAGS_WARN_CLANG_3_8) \ | ||
23 | -Wno-extra-semi-stmt \ | ||
24 | -Wno-zero-as-null-pointer-constant \ | ||
25 | -Wno-deprecated-dynamic-exception-spec \ | ||
26 | -Wno-c++98-compat-pedantic \ | ||
27 | -Wno-atomic-implicit-seq-cst \ | ||
28 | -Wconversion \ | ||
29 | -Wno-sign-conversion \ | ||
30 | |||
31 | CFLAGS_WARN_MAC = \ | ||
32 | -Wno-poison-system-directories \ | ||
33 | -Wno-c++11-long-long \ | ||
34 | -Wno-atomic-implicit-seq-cst \ | ||
35 | |||
36 | |||
37 | CFLAGS_WARN = $(CFLAGS_WARN_CLANG_12) $(CFLAGS_WARN_MAC) | ||