[project @ 2003-06-19 18:53:09 by sof]
authorsof <unknown>
Thu, 19 Jun 2003 18:53:09 +0000 (18:53 +0000)
committersof <unknown>
Thu, 19 Jun 2003 18:53:09 +0000 (18:53 +0000)
add -traditional to SRC_CPP_OPTS to silence (harmless)
'unterminated char constant' warnings when processing .pp files.

ghc/compiler/Makefile

index a8afae0..23ed044 100644 (file)
@@ -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)