From ff0fcf52044e9c643637440fad8057dff811b448 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 1 Jul 2013 16:28:19 +0200 Subject: BUILD: Pass -Wno-nested-anon-types to clang. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 28eaead4b4..1ed1824e2d 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,11 @@ endif ifeq "$(HAVE_CLANG)" "1" CXXFLAGS+= -Wno-conversion -Wno-shorten-64-to-32 -Wno-sign-compare -Wno-four-char-constants + # We use a anonymous nested type declaration in an anonymous union in + # common/str.h. This is no standard construct and clang warns about it. + # It works for all our target systems though, thus we simply disable that + # warning. + CXXFLAGS+= -Wno-nested-anon-types endif ifeq "$(HAVE_ICC)" "1" -- cgit v1.2.3