id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1272,glib not buildable with ghc 7.6.1,guest,somebody,"hi,

I was trying to compile haskelll glib with ghc 7.6.1 and I got the
following error


[12 of 21] Compiling System.Glib.GObject (
dist/build/System/Glib/GObject.hs, dist/build/System/Glib/GObject.o )

System/Glib/GObject.chs:130:1:
    Unacceptable result type in foreign declaration:
      IO (FunPtr (Ptr () -> IO ()))
    When checking declaration:
      foreign import ccall safe ""wrapper"" mkDestroyNotifyPtr
        :: IO () -> IO DestroyNotify



128 {#pointer GDestroyNotify as DestroyNotify#}
129
130 foreign import ccall ""wrapper"" mkDestroyNotifyPtr :: IO () -> IO
DestroyNotify

I had a similar error with a CInt type with a similar error in a
different package.
The problem turned out that you also had to import the type
constructor if it was a newtype.

Any help would be appreciated.

Thanks!",defect,closed,normal,0.12.0,"general (Gtk+, Glib)",0.11.0,fixed,,
