[commit: packages/haskell98] master: Add explicit `{-# LANGUAGE CPP #-}` pragmas (7a40bb5)

git at git.haskell.org git at git.haskell.org
Sat Oct 26 20:57:31 UTC 2013


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

On branch  : master
Link       : http://git.haskell.org/packages/haskell98.git/commitdiff/7a40bb51351bb029ef4a5e4dddba67539559a421

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

commit 7a40bb51351bb029ef4a5e4dddba67539559a421
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Oct 26 21:56:05 2013 +0200

    Add explicit `{-# LANGUAGE CPP #-}` pragmas
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

7a40bb51351bb029ef4a5e4dddba67539559a421
 Array.hs        |    1 +
 Bits.hs         |    1 +
 CError.hs       |    1 +
 CForeign.hs     |    1 +
 CPUTime.hs      |    1 +
 CString.hs      |    1 +
 CTypes.hs       |    1 +
 Char.hs         |    1 +
 Complex.hs      |    1 +
 Directory.hs    |    1 +
 ForeignPtr.hs   |    1 +
 IO.hs           |    1 +
 Int.hs          |    1 +
 Ix.hs           |    1 +
 List.hs         |    1 +
 Locale.hs       |    1 +
 MarshalAlloc.hs |    1 +
 MarshalArray.hs |    1 +
 MarshalError.hs |    1 +
 MarshalUtils.hs |    1 +
 Maybe.hs        |    1 +
 Monad.hs        |    1 +
 Numeric.hs      |    2 +-
 Prelude.hs      |    2 +-
 Ptr.hs          |    1 +
 Random.hs       |    1 +
 Ratio.hs        |    1 +
 StablePtr.hs    |    1 +
 Storable.hs     |    1 +
 System.hs       |    1 +
 Time.hs         |    1 +
 Word.hs         |    1 +
 32 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/Array.hs b/Array.hs
index f7e853a..0b7a6ad 100644
--- a/Array.hs
+++ b/Array.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/Bits.hs b/Bits.hs
index 207e3e9..e1a141c 100644
--- a/Bits.hs
+++ b/Bits.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/CError.hs b/CError.hs
index 6b08602..e97a2df 100644
--- a/CError.hs
+++ b/CError.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/CForeign.hs b/CForeign.hs
index 9e6b79d..6801704 100644
--- a/CForeign.hs
+++ b/CForeign.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/CPUTime.hs b/CPUTime.hs
index 88bf20c..eb5cab7 100644
--- a/CPUTime.hs
+++ b/CPUTime.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/CString.hs b/CString.hs
index abc8ca8..5b6a7e0 100644
--- a/CString.hs
+++ b/CString.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/CTypes.hs b/CTypes.hs
index d092316..5b8bc80 100644
--- a/CTypes.hs
+++ b/CTypes.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Char.hs b/Char.hs
index 066ba08..08e1cfc 100644
--- a/Char.hs
+++ b/Char.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Complex.hs b/Complex.hs
index ad9b328..8974dd7 100644
--- a/Complex.hs
+++ b/Complex.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Directory.hs b/Directory.hs
index 9a2c5ae..f3166a2 100644
--- a/Directory.hs
+++ b/Directory.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/ForeignPtr.hs b/ForeignPtr.hs
index 045954b..0e1b710 100644
--- a/ForeignPtr.hs
+++ b/ForeignPtr.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/IO.hs b/IO.hs
index 4e647f0..052414e 100644
--- a/IO.hs
+++ b/IO.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Int.hs b/Int.hs
index 8b22eb6..241f6d8 100644
--- a/Int.hs
+++ b/Int.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Ix.hs b/Ix.hs
index e2db78b..94d8856 100644
--- a/Ix.hs
+++ b/Ix.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/List.hs b/List.hs
index 13a9531..d1dadfe 100644
--- a/List.hs
+++ b/List.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Locale.hs b/Locale.hs
index 64bbc22..5c197d3 100644
--- a/Locale.hs
+++ b/Locale.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/MarshalAlloc.hs b/MarshalAlloc.hs
index 2a175df..0da40ac 100644
--- a/MarshalAlloc.hs
+++ b/MarshalAlloc.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/MarshalArray.hs b/MarshalArray.hs
index 04d2496..60f4db8 100644
--- a/MarshalArray.hs
+++ b/MarshalArray.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/MarshalError.hs b/MarshalError.hs
index e047125..0a5d516 100644
--- a/MarshalError.hs
+++ b/MarshalError.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/MarshalUtils.hs b/MarshalUtils.hs
index 2a3b9a7..55dc8bf 100644
--- a/MarshalUtils.hs
+++ b/MarshalUtils.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Maybe.hs b/Maybe.hs
index 16bda23..818ffe7 100644
--- a/Maybe.hs
+++ b/Maybe.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Monad.hs b/Monad.hs
index a6ed975..576a026 100644
--- a/Monad.hs
+++ b/Monad.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Numeric.hs b/Numeric.hs
index 4e2e424..28657fd 100644
--- a/Numeric.hs
+++ b/Numeric.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE PackageImports #-}
+{-# LANGUAGE CPP, PackageImports #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Prelude.hs b/Prelude.hs
index 9bc79b7..4c69a63 100644
--- a/Prelude.hs
+++ b/Prelude.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE NoImplicitPrelude, BangPatterns, PackageImports #-}
+{-# LANGUAGE BangPatterns, CPP, NoImplicitPrelude, PackageImports #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/Ptr.hs b/Ptr.hs
index 615b26d..7d1cdb2 100644
--- a/Ptr.hs
+++ b/Ptr.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Random.hs b/Random.hs
index eea735a..840e668 100644
--- a/Random.hs
+++ b/Random.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/Ratio.hs b/Ratio.hs
index 5caacfa..a7ae384 100644
--- a/Ratio.hs
+++ b/Ratio.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/StablePtr.hs b/StablePtr.hs
index f48165d..e80f382 100644
--- a/StablePtr.hs
+++ b/StablePtr.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/Storable.hs b/Storable.hs
index 85562f2..de10cc2 100644
--- a/Storable.hs
+++ b/Storable.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif
diff --git a/System.hs b/System.hs
index e30b1e4..ebc4ea7 100644
--- a/System.hs
+++ b/System.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/Time.hs b/Time.hs
index 494a795..4320fd3 100644
--- a/Time.hs
+++ b/Time.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
diff --git a/Word.hs b/Word.hs
index ba69aaf..5fefc56 100644
--- a/Word.hs
+++ b/Word.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 #if __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Safe #-}
 #endif



More information about the ghc-commits mailing list