aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schickel2013-07-01 16:28:19 +0200
committerJohannes Schickel2013-07-01 16:28:19 +0200
commitff0fcf52044e9c643637440fad8057dff811b448 (patch)
tree4bcdef60ddce18a980b1f14c3a5dd2f4e998a657 /Makefile
parentb1dcd252b3b3eb4c91ba9b334541bdd97a95ef14 (diff)
downloadscummvm-rg350-ff0fcf52044e9c643637440fad8057dff811b448.tar.gz
scummvm-rg350-ff0fcf52044e9c643637440fad8057dff811b448.tar.bz2
scummvm-rg350-ff0fcf52044e9c643637440fad8057dff811b448.zip
BUILD: Pass -Wno-nested-anon-types to clang.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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"