disable tautolgical compare warning in clang
disable the tautological compare warning as it is triggered by crypto++ using unsigned ints in comparisons to zero in template code. crypto++ do not show any indication of fixing it. this commit does add a dependency on grep but that should not be a major problem
This commit is contained in:
parent
4c2df0fd2a
commit
e24d731419
@ -86,13 +86,12 @@ endif
|
||||
|
||||
|
||||
###################################################
|
||||
ifeq ($(CC),clang++)
|
||||
CC_OPTIONS += -Wno-tautological-compare
|
||||
endif
|
||||
ifeq ($(CC),clang)
|
||||
ifeq ($(shell $(CXX) --version 2>&1 | grep -i -c "clang version"),0)
|
||||
CC_OPTIONS += -Wno-tautological-compare
|
||||
CXX_OPTIONS += -Wno-tautological-compare
|
||||
endif
|
||||
|
||||
|
||||
###################################################
|
||||
# Set the link libraries based on the OS
|
||||
# Linux uses libdl
|
||||
|
Loading…
Reference in New Issue
Block a user