[Haskell-cafe] OpenAL - compiling problem

Stephen Tetley stephen.tetley at gmail.com
Wed Nov 28 19:01:44 CET 2012


Hi Gary

Which version of GHC are you using?

My suspicion is that ALCdevice might be a newtype falling foul of
recent changes to GHC...

v7.4.1: "GHC now requires, as per the standard, that if a newtype is
used in an FFI declaration, then the constructor for that type must be
in scope. For now you only get a warning if it is not, but in the
future this will be an error."



More information about the Haskell-Cafe mailing list