Skip to content

Commit

Permalink
ot-br-posix: Disable sign-compare warning as error
Browse files Browse the repository at this point in the history
Use same way for seatd

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Dec 17, 2024
1 parent 902f496 commit 71202a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ CFLAGS:append:pn-qtbase:toolchain-clang:arm = " -no-integrated-as"
#../git/common/connection.c:154:55: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare]
# for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) {
# ^~~~~~~~~~~~~~~~~~~~~~
CFLAGS:append:pn-seatd:toolchain-clang = " -Wno-sign-compare"
CFLAGS:append:pn-seatd:toolchain-clang = " -Wno-error=sign-compare"
CXXFLAGS:append:pn-ot-br-posix:toolchain-clang = " -Wno-error=sign-compare"

# -fno-tree-vrp is gcc specific
CXXFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp"
Expand Down

0 comments on commit 71202a2

Please sign in to comment.