You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just did a fresh clone, cabal configure && cabal build of conduit (0.2.2). Here are the deprecation warnings:
Control.Monad.Trans.Resource.hs
Control/Monad/Trans/Resource.hs:50:1:
Warning: In the use of `mkTyCon'
(imported from Data.Typeable):
Deprecated: "either derive Typeable, or use mkTyCon3 instead"
Control/Monad/Trans/Resource.hs:66:30:
Warning: In the use of `unsafeIOToST'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"
Control/Monad/Trans/Resource.hs:67:1:
Warning: In the use of `Lazy.unsafeIOToST'
(imported from Control.Monad.ST.Lazy):
Deprecated: "Please import from Control.Monad.ST.Lazy.Unsafe instead; This will be removed in the next release"
System.PosixFile.hsc
System/PosixFile.hsc:30:1:
Warning: newtype `CInt' is used in an FFI declaration,
but its constructor is not in scope.
This will become an error in GHC 7.6.1.
When checking declaration:
foreign import ccall safe "static open" c_open
:: CString -> Flag -> IO CInt
System/PosixFile.hsc:30:1:
Warning: newtype `CInt' is used in an FFI declaration,
but its constructor is not in scope.
This will become an error in GHC 7.6.1.
When checking declaration:
foreign import ccall safe "static open" c_open
:: CString -> Flag -> IO CInt
System/PosixFile.hsc:33:1:
Warning: newtype `CInt' is used in an FFI declaration,
but its constructor is not in scope.
This will become an error in GHC 7.6.1.
When checking declaration:
foreign import ccall safe "static read" c_read
:: FD -> Ptr Word8 -> CInt -> IO CInt
System/PosixFile.hsc:33:1:
Warning: newtype `CInt' is used in an FFI declaration,
but its constructor is not in scope.
This will become an error in GHC 7.6.1.
When checking declaration:
foreign import ccall safe "static read" c_read
:: FD -> Ptr Word8 -> CInt -> IO CInt
System/PosixFile.hsc:33:1:
Warning: newtype `CInt' is used in an FFI declaration,
but its constructor is not in scope.
This will become an error in GHC 7.6.1.
When checking declaration:
foreign import ccall safe "static read" c_read
:: FD -> Ptr Word8 -> CInt -> IO CInt
System/PosixFile.hsc:36:1:
Warning: newtype `CInt' is used in an FFI declaration,
but its constructor is not in scope.
This will become an error in GHC 7.6.1.
When checking declaration:
foreign import ccall safe "static close" close :: FD -> IO ()
The text was updated successfully, but these errors were encountered:
Thanks for the heads-up on this. Could you file all of this in a
Github issue? I think for the moment, I'm not going to fix any of
these warnings, since the official compiler for the HP, and thus
what's available in most distros, is still 7.0, and I don't think most
of the changes will work there. Once 7.6 starts to have release
candidates, we can evaluate whether we'll drop 7.0 support or use
conditional compilation.
Just did a fresh clone, cabal configure && cabal build of conduit (0.2.2). Here are the deprecation warnings:
Control.Monad.Trans.Resource.hs
System.PosixFile.hsc
The text was updated successfully, but these errors were encountered: