From e1fcfc19aa045ae378d983c6c95af2ae64723ea5 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 28 Aug 2023 11:29:56 +0200 Subject: 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. --- etc/defaults/CC/TARGETS.git2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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" ] ] } -- cgit v1.2.3