Dimitry Golubovsky | 9 Feb 2009 18:30
Picon
Gravatar

Failed to build Hugs 2008-09-28 snapshot

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)

leledumbo | 10 Feb 2009 05:37
Picon
Favicon
Gravatar

Re: Failed to build Hugs 2008-09-28 snapshot


So, I must stick to September 2006 version :-((?
--

-- 
View this message in context: http://www.nabble.com/Failed-to-build-Hugs-2008-09-28-snapshot-tp21917772p21927592.html
Sent from the Haskell - Hugs-Bugs mailing list archive at Nabble.com.

Gmane