[Hugs-bugs] Missing Types.dll in WinHugs-May2006.exe?
Neil Mitchell
ndmitchell at gmail.com
Wed May 24 12:31:22 EDT 2006
Hi,
Having run a new compilation on WinHugs libraries I get the following messages:
..\..\hugsdir\packages\Win32\Graphics\Win32\GDI\HDC.c: In function
`hugsprim_SelectObject_34':
..\..\hugsdir\packages\Win32\Graphics\Win32\GDI\HDC.c:121: warning:
assignment makes integer from pointer without a cast
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c: In function
`hugsprim_CreateDialogIndirectParamW_7':
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c:290: warning:
passing arg 4 of `CreateDialogIndirectParamW' from incompatible
pointer type
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c: In function
`hugsprim_CreateDialogParamW_6':
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c:313: warning:
passing arg 4 of `CreateDialogParamW' from incompatible pointer type
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c: In function
`hugsprim_DialogBoxIndirectParamW_2':
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c:422: warning:
passing arg 4 of `DialogBoxIndirectParamW' from incompatible pointer
type
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c: In function
`hugsprim_DialogBoxParamW_1':
..\..\hugsdir\packages\Win32\Graphics\Win32\Dialogue.c:445: warning:
passing arg 4 of `DialogBoxParamW' from incompatible pointer type
..\..\hugsdir\packages\Win32\Graphics\Win32\Misc.c: In function
`hugsprim_SetTimer_13':
..\..\hugsdir\packages\Win32\Graphics\Win32\Misc.c:59: warning:
passing arg 4 of `SetTimer' from incompatible pointer type
runhugs: Error occurred
ERROR "..\..\hugsdir\packages\Win32\System\Win32\Info.hs":26 - Syntax
error in import declaration (unexpected comma)
I guess the warnings should be fixed anyway.
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.
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.
Thanks
Neil
More information about the Hugs-Bugs
mailing list