FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error when building version 0.8 on windows

 
Post new topic   Reply to topic     Forum Index -> Monster
View previous topic :: View next topic  
Author Message
odeamus



Joined: 21 Feb 2006
Posts: 78
Location: Helsinki, Finland

PostPosted: Tue Apr 22, 2008 1:21 am    Post subject: Error when building version 0.8 on windows Reply with quote

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
View user's profile Send private message
nkorslund



Joined: 23 Oct 2007
Posts: 12

PostPosted: Thu Apr 24, 2008 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Monster All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group