9 Feb 2009 18:30
Failed to build Hugs 2008-09-28 snapshot
Dimitry Golubovsky <golubovsky <at> gmail.com>
2009-02-09 17:30:43 GMT
2009-02-09 17:30:43 GMT
Hi,
Answering your questions on the Hugs snapshot (I created it)
ERROR "hugsdir/packages\directory\System\Directory.hs":366 - Undefined data
constructor "UnsupportedOperation"
Looking at the Directory.hs we can see (at the very end of file):
#if defined(mingw32_HOST_OS)
foreign import ccall unsafe "__hscore_getFolderPath"
c_SHGetFolderPath :: Ptr ()
-> CInt
-> Ptr ()
-> CInt
-> CString
-> IO CInt
foreign import ccall unsafe "__hscore_CSIDL_PROFILE" csidl_PROFILE :: CInt
foreign import ccall unsafe "__hscore_CSIDL_APPDATA" csidl_APPDATA :: CInt
foreign import ccall unsafe "__hscore_CSIDL_WINDOWS" csidl_WINDOWS :: CInt
foreign import ccall unsafe "__hscore_CSIDL_PERSONAL" csidl_PERSONAL :: CInt
foreign import stdcall unsafe "GetTempPathA" c_GetTempPath :: CInt ->
CString -> IO CInt
raiseUnsupported :: String -> IO ()
raiseUnsupported loc =
ioException (ioeSetErrorString (mkIOError UnsupportedOperation loc
Nothing Nothing) "unsupported operation")
(Continue reading)
(?
RSS Feed