patch applied (cabal): Fix the check for -XFooBar ghc-options flags to be more permissive
24 Apr
2008
24 Apr
'08
5:06 a.m.
Wed Apr 23 12:02:43 PDT 2008 Duncan Coutts <duncan@haskell.org> * Fix the check for -XFooBar ghc-options flags to be more permissive Previously we rejected all such flags but that posed the problem that older versions of Cabal, like 1.1.6 did not understand new extensions so we could not actually follow the advice and use the extenion. So now we only warn about -X flags if they refer to old extensions that Cabal 1.1.6 knew about. If the .cabal file specifies cabal-version: >= 1.2 or similar (anything that excludes 1.1.6) then we warn about all -X flags. M ./Distribution/PackageDescription/Check.hs -2 +24 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080423190243-adfee-d3ff721f5...
6657
Age (days ago)
6657
Last active (days ago)
0 comments
1 participants
participants (1)
-
Duncan Coutts