Hi David, On 18.11.2011, at 22:01, wagne...@seas.upenn.edu wrote:
> Quoting wagne...@seas.upenn.edu: > >> In the next version of GHC, the constructors for types used in >> foreign imports must be in scope at the import site. This patch >> adds four characters ( =) ) to make that true. > > Actually, it turns out I was misinterpreting what bootstrap.sh was > telling me, and that there are a few more places that need to be > fixed. I'm having a tiny bit of trouble, though. In the gio package, > there's a generated file System/GIO/Types.chs that needs to change, > but I'm having a bit of trouble figuring out how it's generated (and > hence how to fix the generation). All that needs to change is the > imports; the change is > > -import Foreign.C.Types (CULong, CUInt) > +import Foreign.C.Types (CULong, CUInt(..)) > > I verified that this change lets the rest of the gio package build, > but don't know how to make this change "stick". Any hints? > Yes, have a look at the type generator, in particular, you have to fix: gtk2hs/tools/hierarchyGen/Hierarchy.chs.template I'm happy to apply your patch, even though that means yet another release... Cheers, Axel > ~d > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Gtk2hs-devel mailing list > Gtk2hs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel