diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-08-28 11:29:56 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-08-28 15:44:53 +0200 |
commit | e1fcfc19aa045ae378d983c6c95af2ae64723ea5 (patch) | |
tree | c9c99a665f9653cfa6d17304778a05e78df7cc7f | |
parent | 8fb4a41a63e5d195c2463ce0bc75e9d41cc0c5be (diff) | |
download | justbuild-e1fcfc19aa045ae378d983c6c95af2ae64723ea5.tar.gz |
Silence warnings produced by older compilers
... in particular options like '-Wno-array-parameter', which
are needed to silence newer compilers are not supported by
older ones. Hence, add '-Wno-unknown-warning-option' for all.
-rw-r--r-- | etc/defaults/CC/TARGETS.git2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/defaults/CC/TARGETS.git2 b/etc/defaults/CC/TARGETS.git2 index fd066532..4af906a1 100644 --- a/etc/defaults/CC/TARGETS.git2 +++ b/etc/defaults/CC/TARGETS.git2 @@ -70,7 +70,6 @@ , "-Wno-unused-but-set-variable" , "-Wno-unused-but-set-parameter" , "-Wno-single-bit-bitfield-constant-conversion" - , "-Wno-unknown-warning-option" ] , "gnu": ["-Wno-dangling-pointer"] } @@ -91,6 +90,7 @@ , "-Wno-unused-parameter" , "-Wno-uninitialized" , "-Wno-array-parameter" + , "-Wno-unknown-warning-option" ] ] } |