mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
kronoset: Disable sign-compare with clang
clang isn't suppressing warnings from system headers like it should
Fixes
../../git/libknet/transport_udp.c:326:48: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
for (cmsg = CMSG_FIRSTHDR(&msg);cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {
^~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
cae26bb842
commit
cfb432a714
|
|
@ -15,3 +15,9 @@ SRC_URI = "git://github.com/kronosnet/kronosnet;protocol=https;branch=stable1"
|
|||
inherit autotools
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# libknet/transport_udp.c:326:48: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
|
||||
# for (cmsg = CMSG_FIRSTHDR(&msg);cmsg; cmsg = CMSG_NXTHDR(&msg, cmsg)) {
|
||||
# ^~~~~~~~~~~~~~~~~~~~~~~
|
||||
CFLAGS_append_toolchain-clang = " -Wno-sign-compare"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user