The following patch generally makes the haskell bindings compile with ghc-6.12.3, without -fglasgow-exts, with -Wall -Werror, with -XArrows; though I haven't actually tested this very thoroughly yet, it does compile and work with a trivial IDL file.
In particular, it: * Adds 'length' to the list of imported symbols from the Prelude in generated code (not sure how the generated bindings ever compiled without that) * Stops using 'rec' and 'proc' as identifiers, they're keywords when using -XArrows * Adds needed LANGUAGE pragmas (in order to not need -fglasgow-exts) * Adds OPTIONS_GHC pragmas needed to bypass -Wall -Werror * Cleans up a few style bugs / nitpicks in order to compile with -Wall when it was trivial (and avoided more OPTIONS_GHC pragmas) Thoughts? -- Have fun, Christian http://linkedin.christianlavoie.net "I won't let you fall apart."
