[commit: ghc] master: Disable -Wcpp-undef for now (46923b6)

git at git.haskell.org git at git.haskell.org
Mon May 1 03:04:42 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/46923b6df17c9514b6b705119c8273086ba0ace5/ghc

>---------------------------------------------------------------

commit 46923b6df17c9514b6b705119c8273086ba0ace5
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Apr 30 22:41:38 2017 -0400

    Disable -Wcpp-undef for now
    
    We at very least need to upstream a patch for the time submodule to compile on
    OS X.


>---------------------------------------------------------------

46923b6df17c9514b6b705119c8273086ba0ace5
 mk/warnings.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mk/warnings.mk b/mk/warnings.mk
index 3c4c26d..af5f4f5 100644
--- a/mk/warnings.mk
+++ b/mk/warnings.mk
@@ -8,8 +8,8 @@ SRC_HC_OPTS     += -Wall
 # isn't supported yet (https://ghc.haskell.org/trac/ghc/wiki/Design/Warnings).
 #
 # See Note [Stage number in build variables] in mk/config.mk.in.
-SRC_HC_OPTS_STAGE1 += $(WERROR) -Wcpp-undef
-SRC_HC_OPTS_STAGE2 += $(WERROR) -Wcpp-undef
+SRC_HC_OPTS_STAGE1 += $(WERROR) #-Wcpp-undef
+SRC_HC_OPTS_STAGE2 += $(WERROR) #-Wcpp-undef
 
 
 ifneq "$(GccIsClang)" "YES"



More information about the ghc-commits mailing list