diff options
| author | hallgren <hallgren@chalmers.se> | 2011-04-06 13:57:19 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2011-04-06 13:57:19 +0000 |
| commit | 00a08fb4fb2ede3219acd6c607be1b3e3e25b3d4 (patch) | |
| tree | b0da12351370936b82a3ec55a7a7ada7fccf2e8e /src | |
| parent | b4e3e8c0fab88f595e17e664a3642dcde5745c22 (diff) | |
avoid warning from ghc-7.0
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiler/GF/Data/BacktrackM.hs | 2 | ||||
| -rw-r--r-- | src/runtime/haskell/Data/Binary/Get.hs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/GF/Data/BacktrackM.hs b/src/compiler/GF/Data/BacktrackM.hs index 36317ebb6..4e84022f4 100644 --- a/src/compiler/GF/Data/BacktrackM.hs +++ b/src/compiler/GF/Data/BacktrackM.hs @@ -12,7 +12,7 @@ -- Backtracking state monad, with r\/o environment ----------------------------------------------------------------------------- -{-# OPTIONS_GHC -fglasgow-exts #-} +{-# LANGUAGE Rank2Types, MultiParamTypeClasses, FlexibleInstances #-} module GF.Data.BacktrackM ( -- * the backtracking state monad BacktrackM, diff --git a/src/runtime/haskell/Data/Binary/Get.hs b/src/runtime/haskell/Data/Binary/Get.hs index 51062ad31..728720b3e 100644 --- a/src/runtime/haskell/Data/Binary/Get.hs +++ b/src/runtime/haskell/Data/Binary/Get.hs @@ -1,5 +1,4 @@ -{-# LANGUAGE CPP #-} -{-# OPTIONS_GHC -fglasgow-exts #-} +{-# LANGUAGE CPP, MagicHash #-} -- for unboxed shifts ----------------------------------------------------------------------------- |
