On Mon, 23 Apr 2012 09:59:24 +0300 (FET)
Sergei Trofimovich <sly...@gmail.com> wrote:

> 1 patch for repository http://code.haskell.org/gstreamer:
> 
> Mon Apr 23 09:58:12 FET 2012  Sergei Trofimovich 
> <sly...@community.haskell.org>
>   * fix build failure on ghc-7.4 (Eq constraints)
>   
>   Media/Streaming/GStreamer/Core/Buffer.chs:216:13:
>       Could not deduce (Eq numT) arising from a use of `/='
>       from the context (BufferClass bufferT, Integral intT, Num numT)
>         bound by the type signature for
>                    marshalGetNum :: (BufferClass bufferT, Integral intT, Num 
> numT) =>
>                                     (Ptr Buffer -> IO intT) -> numT -> 
> bufferT -> Maybe numT
>         at Media/Streaming/GStreamer/Core/Buffer.chs:(213,1)-(218,22)
>       Possible fix:
>         add (Eq numT) to the context of
>           the type signature for
>             marshalGetNum :: (BufferClass bufferT, Integral intT, Num numT) =>
>              (Ptr Buffer -> IO intT) -> numT -> bufferT -> Maybe numT
>              In the expression: n /= invalid
>              In the expression: if n /= invalid then Just n else Nothing
>      In the expression:
>          let
>               n = fromIntegral
>                   $ unsafePerformIO $ withMiniObject (toBuffer buffer) 
> getAction
>          in if n /= invalid then Just n else Nothing

*cough* :]

-- 

  Sergei

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to