[commit: packages/time] master: remove -ffi options (in favour of -XForeignFunctionInterface) (e581e9c)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:59:01 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/time.git/commitdiff/e581e9cbf1fc840663fa0e154ae99fc476223d5a

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

commit e581e9cbf1fc840663fa0e154ae99fc476223d5a
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Sun Sep 14 17:19:01 2008 -0700

    remove -ffi options (in favour of -XForeignFunctionInterface)
    
    darcs-hash:20080915001901-ac6dd-48abe6364ead4d30656f5a1ca6a05a854f9bd0fb


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

e581e9cbf1fc840663fa0e154ae99fc476223d5a
 Data/Time/Clock/CTimeval.hs | 2 +-
 test/TestEaster.hs          | 2 +-
 test/TestFormat.hs          | 2 +-
 test/TestParseDAT.hs        | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Data/Time/Clock/CTimeval.hs b/Data/Time/Clock/CTimeval.hs
index 0e83072..ab5fd79 100644
--- a/Data/Time/Clock/CTimeval.hs
+++ b/Data/Time/Clock/CTimeval.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -cpp #-}
+{-# OPTIONS -cpp #-}
 
 -- #hide
 module Data.Time.Clock.CTimeval where
diff --git a/test/TestEaster.hs b/test/TestEaster.hs
index 290c066..8aae5ce 100644
--- a/test/TestEaster.hs
+++ b/test/TestEaster.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror #-}
 
 module Main where
 
diff --git a/test/TestFormat.hs b/test/TestFormat.hs
index ecfa9fa..b827e0a 100644
--- a/test/TestFormat.hs
+++ b/test/TestFormat.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -Wall -Werror #-}
+{-# OPTIONS -XForeignFunctionInterface -Wall -Werror #-}
 
 module Main where
 
diff --git a/test/TestParseDAT.hs b/test/TestParseDAT.hs
index ee56d49..181ca08 100644
--- a/test/TestParseDAT.hs
+++ b/test/TestParseDAT.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS -ffi -Wall -Werror #-}
+{-# OPTIONS -Wall -Werror #-}
 
 module Main where
 



More information about the ghc-commits mailing list