From 00a08fb4fb2ede3219acd6c607be1b3e3e25b3d4 Mon Sep 17 00:00:00 2001 From: hallgren Date: Wed, 6 Apr 2011 13:57:19 +0000 Subject: [PATCH] avoid warning from ghc-7.0 Warning: -fglasgow-exts is deprecated: Use individual extensions instead --- src/compiler/GF/Data/BacktrackM.hs | 2 +- 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 -----------------------------------------------------------------------------