From 4c2df0fd2ada5f898332e9737627e2b550731dac Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Sep 2013 20:59:24 +0100 Subject: disable tautological compare in clang disable the tautological compare warning in clang as crypto++ triggers this warning and they are ignoring it --- GNUmakefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 845aca3d9..a18e6a97f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -85,6 +85,13 @@ endif endif +################################################### +ifeq ($(CC),clang++) +CC_OPTIONS += -Wno-tautological-compare +endif +ifeq ($(CC),clang) +CC_OPTIONS += -Wno-tautological-compare +endif ################################################### # Set the link libraries based on the OS -- cgit v1.2.3