[commit: packages/Cabal] ghc-head: Fix a build error when Clang is used as a preprocessor. (e2ad772)
git at git.haskell.org
git at git.haskell.org
Fri Sep 13 17:55:35 CEST 2013
Repository : ssh://git@git.haskell.org/Cabal
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=e2ad772a072c0a7c0c248f3fdc38c4cef276275c
>---------------------------------------------------------------
commit e2ad772a072c0a7c0c248f3fdc38c4cef276275c
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Mon Sep 9 23:52:37 2013 +0200
Fix a build error when Clang is used as a preprocessor.
Fixes #1496 (presumably).
>---------------------------------------------------------------
e2ad772a072c0a7c0c248f3fdc38c4cef276275c
Cabal/Distribution/Version.hs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Cabal/Distribution/Version.hs b/Cabal/Distribution/Version.hs
index 1f5629a..ca93319 100644
--- a/Cabal/Distribution/Version.hs
+++ b/Cabal/Distribution/Version.hs
@@ -233,8 +233,7 @@ betweenVersionsInclusive v1 v2 =
IntersectVersionRanges (orLaterVersion v1) (orEarlierVersion v2)
{-# DEPRECATED betweenVersionsInclusive
- "In practice this is not very useful because we normally use inclusive lower bounds and exclusive upper bounds"
- #-}
+ "In practice this is not very useful because we normally use inclusive lower bounds and exclusive upper bounds" #-}
-- | Fold over the basic syntactic structure of a 'VersionRange'.
--
More information about the ghc-commits
mailing list