[Bug 1045963] Review Request: ghc-gtk3 - Binding to the Gtk+ graphical user interface library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1045963



--- Comment #26 from Jens Petersen <petersen@xxxxxxxxxx> ---
Just for the record I tried to backport to 0.12.5 for F21 and EPEL7
but the build fails (with ghc-7.6.3 stack) like this:

[117 of 198] Compiling Graphics.UI.Gtk.Multiline.TextTagTable (
dist/build/Graphics/UI/Gtk/Multiline/TextTagTable.hs,
dist/build/Graphics/UI/Gtk/Multiline/TextTagTable.o )
Graphics/UI/Gtk/Multiline/TextTagTable.chs:88:3:
    Couldn't match type `CInt' with `()'
    Expected type: IO ()
      Actual type: IO CInt
    In the return type of a call of `\ (TextTagTable arg1)
                                       (TextTag arg2)
                                       -> withForeignPtr arg1
                                          $ \ argPtr1 -> withForeignPtr arg2 $
\ argPtr2 -> ...'
    In the expression:
      (\ (TextTagTable arg1) (TextTag arg2)
         -> withForeignPtr arg1
            $ \ argPtr1
                -> withForeignPtr arg2
                   $ \ argPtr2 -> gtk_text_tag_table_add argPtr1 argPtr2)
        (toTextTagTable self) (toTextTag tag)
    In an equation for `textTagTableAdd':
        textTagTableAdd self tag
          = (\ (TextTagTable arg1) (TextTag arg2)
               -> withForeignPtr arg1
                  $ \ argPtr1 -> withForeignPtr arg2 $ \ argPtr2 -> ...)
              (toTextTagTable self) (toTextTag tag)

Also tried latest current gtk2hs-buildtools but that doesn't help.
I guess it is an issue with ghc-7.6 probably.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]