summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-02-07 12:24:54 -0800
committerKhem Raj <raj.khem@gmail.com>2022-02-14 08:27:39 -0800
commite0acc81460f6533e1d14c1c81980fc9fc6d255e8 (patch)
tree33a541d79217433eb2f1a0b9a80b777dfd401ca8 /conf
parent7b6d1e3d44cefdcabf090392a68af73ff4d6a04a (diff)
downloadmeta-clang-e0acc81460f6533e1d14c1c81980fc9fc6d255e8.tar.gz
seatd: Disable -Wsign-compare with clang
Fixes a warning additionally generated by clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 2be9d33..9a7db9c 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -288,6 +288,11 @@ CFLAGS:append:pn-gnutls:toolchain-clang:aarch64 = " -no-integrated-as"
288#| ^ 288#| ^
289CFLAGS:append:pn-concurrencykit:toolchain-clang:arm = " -no-integrated-as" 289CFLAGS:append:pn-concurrencykit:toolchain-clang:arm = " -no-integrated-as"
290 290
291#../git/common/connection.c:154:55: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
292# for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) {
293# ^~~~~~~~~~~~~~~~~~~~~~
294CFLAGS:append:pn-seatd:toolchain-clang = " -Wno-sign-compare"
295
291# regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a 296# regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a
292# space between literal and identifier [-Wreserved-user-defined-literal] 297# space between literal and identifier [-Wreserved-user-defined-literal]
293#| snprintf_func (buf, sizeof(buf), "%"Q"u", x); 298#| snprintf_func (buf, sizeof(buf), "%"Q"u", x);