View previous topic :: View next topic |
Author |
Message |
odeamus
Joined: 21 Feb 2006 Posts: 78 Location: Helsinki, Finland
|
Posted: Tue Apr 22, 2008 1:21 am Post subject: Error when building version 0.8 on windows |
|
|
FYI,
Code: | monster\minibos\c\windows\windows.d(110): Error: identifier 'WORD' is not defined
monster\minibos\c\windows\windows.d(110): Error: WORD is used as a type |
The WORD is not defined in the windows.d module. I added 'alias ubyte WORD' before the DWORD definition and everything builds fine. I'm just not sure if the ubyte is the correct type for WORD. |
|
Back to top |
|
|
nkorslund
Joined: 23 Oct 2007 Posts: 12
|
Posted: Thu Apr 24, 2008 2:06 pm Post subject: |
|
|
Thanks for the bug report.
It's actually a ushort, I've fixed it now and will put the updated file on the server shortly.
Unfortunately I have been without a functioning windows install for a few weeks so I didn't get to test the latest changes to the windows code. It's mostly copy and paste from phobos though, so if it compiles it should work correctly. |
|
Back to top |
|
|
|