summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2013-06-18 18:40:32 -0500
committerAustin Seipp <aseipp@pobox.com>2013-06-18 21:26:21 -0500
commit232737a0260a04c6c274a4a619589aa078145416 (patch)
tree96f4a7652276e3d75312efdb580ec6b3520b1078 /mk
parent7b0695a887c13a431f898d89938e127faa3f4585 (diff)
downloadhaskell-232737a0260a04c6c274a4a619589aa078145416.tar.gz
Suppress some more warnings from Clang.
It likes to think lambdas a la: foo $ \u -> ... represent a kind of unicode extended literal. It also gets confused when you have things like: ... thing ... {- comment ... (???) -} where the (???) is mistaken as a trigraph. Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index a65dc69b57..12357984ed 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -619,7 +619,7 @@ CPP = @CPP@ @CPPFLAGS@
# Clang in particular is a bit more annoying, so we suppress some warnings.
RAWCPP_FLAGS = -undef -traditional
ifeq "$(CC_CLANG_BACKEND)" "1"
-RAWCPP_FLAGS += -Wno-invalid-pp-token
+RAWCPP_FLAGS += -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs
endif
FIND = @FindCmd@