From 4418c8e913e93e927a91e58abd1bbc6893aa8d27 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 19 Jun 2003 18:53:09 +0000 Subject: [PATCH] [project @ 2003-06-19 18:53:09 by sof] add -traditional to SRC_CPP_OPTS to silence (harmless) 'unterminated char constant' warnings when processing .pp files. --- ghc/compiler/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index a8afae0..23ed044 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -441,6 +441,8 @@ CLEAN_FILES += $(PRIMOP_BITS) SRC_CPP_OPTS += -I$(GHC_INCLUDE_DIR) SRC_CPP_OPTS += ${GhcCppOpts} +# to avoid complaints about unterminated char constants when processing .pp files. +SRC_CPP_OPTS += -traditional ifneq "$(BootingFromHc)" "YES" prelude/PrimOp.lhs $(odir)/prelude/PrimOp.o: $(PRIMOP_BITS) -- 1.7.10.4