
Hi all,
when bootstrapping with GHC-7.7 I get
HC [stage 0] libraries/binary/dist-boot/build/Data/Binary/Get.o
libraries/binary/src/Data/Binary/Get.hs:101:1: Warning:
The import of `GHC.Int' is redundant
except perhaps to import instances from `GHC.Int'
To import instances alone, use: import GHC.Int()
libraries/binary/src/Data/Binary/Get.hs:371:15: Warning:
In the use of `unsafeInterleaveST'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead;
This will be removed in the next release"
libraries/binary/src/Data/Binary/Get.hs:383:44: Warning:
In the use of `unsafeInterleaveST'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead;
This will be removed in the next release"
HC [stage 0] libraries/binary/dist-boot/build/Data/Binary/Builder/Base.o
libraries/binary/src/Data/Binary/Builder/Base.hs:180:22:
Ambiguous occurrence `unsafePerformIO'
It could refer to either `Foreign.unsafePerformIO',
imported from `Foreign' at
libraries/binary/src/Data/Binary/Builder/Base.hs:69:1-14
or `System.IO.Unsafe.unsafePerformIO',
imported from `System.IO.Unsafe' at
libraries/binary/src/Data/Binary/Builder/Base.hs:71:1-23
(and originally defined in `GHC.IO')
make[1]: *** [libraries/binary/dist-boot/build/Data/Binary/Builder/Base.o]
Error 1
I have two commits to fix this:
$ git show ded894cd6abb209406e2ce16361acbb7111774d0
commit ded894cd6abb209406e2ce16361acbb7111774d0
Author: Gabor Greif