Re: Missing Types.dll in WinHugs-May2006.exe?
"Neil Mitchell" <[email protected]> Thu, 25 May 2006 14:16:51 +0100
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, This issue has now been fixed in the CVS and a brand new build works fine and gets all the Windows bits that are required. Does this warrant a new release? Just shoving up some new binaries over the old? Or should we wait a bit longer, especially if Win32 is going to get some more changes soon? Thanks Neil On 5/24/06, Esa Ilari Vuokko <[email protected]> wrote: > > Neil Mitchell wrote: > > Having run a new compilation on WinHugs libraries I get the following > > messages: > > [snip compiler messages] > > > I guess the warnings should be fixed anyway. > > These warnings don't happen with GHC...wierd..I think those > should arise with -fvia-C... > > But only integer to pointer cast sounds truly dangerous. > > > The final error is on the following line: > > import Foreign ( Storable(sizeOf, alignment, peekByteOff, > pokeByteOff, > > peek, poke), > > , Ptr, alloca ) > > > > One two many comma's, I guess the CPP has had an effect here. > > It's my fault [1], not CPP's. That compiles with GHC for some reason. > Removing the extra comma should help. Could you please remove one > comma and recompile to check if it helps. > > I don't have hugs build env ready yet, so I can't immediately test > myself. > > > As for System.Win32.Types, the folder > > hugsdir\packages\Win32\System\Win32 has Types.hs but no Types.c, it > > doesn't appear in any of the build logs. I'm not sure where it should > > come from, but it doesn't appear to get there. > > Nobody recognises Types.hs has ffi imports? > > [1] > http://darcs.haskell.org/darcsweb/darcsweb.cgi?r=Win32;a=filediff;h=20060510150728-e8d59-bae64049eba770bc78e1ca483b8c5c4e6290515e.gz;f=System/Win32/Info.hsc > > Thanks, > --Esa > >