[commit: ghc] master: Fix build for GHC earlier than 7.0.1. (6b0d62c)

Ian Lynagh igloo at earth.li
Wed Jun 15 02:32:14 CEST 2011


On Tue, Jun 14, 2011 at 05:23:58PM -0700, Edward Z. Yang wrote:
> 
>  {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
> +#if __GLASGOW_HASKELL__ < 701
> +-- GHC 7.0.1 improved incomplete pattern warnings with GADTs

That #if means GHC < 7.1.*; it sounds like you want

    #if __GLASGOW_HASKELL__ < 700


Thanks
Ian




More information about the Cvs-ghc mailing list