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

union bug in winnt.d

 
Post new topic   Reply to topic     Forum Index -> Bindings
View previous topic :: View next topic  
Author Message
davidl



Joined: 17 Aug 2006
Posts: 27

PostPosted: Sun Jan 14, 2007 2:37 am    Post subject: union bug in winnt.d Reply with quote

struct IMAGE_SECTION_HEADER {

BYTE Name[IMAGE_SIZEOF_SHORT_NAME];
union Misc {
DWORD PhysicalAddress;
DWORD VirtualSize;
};

modified version
struct IMAGE_SECTION_HEADER {

BYTE Name[IMAGE_SIZEOF_SHORT_NAME];
union _Misc {
DWORD PhysicalAddress;
DWORD VirtualSize;
};
_Misc Misc; //declare an instance

i don't know if there're any unions bug in bindings. hope people who have a grep tool , grep them and fix them Wink
Back to top
View user's profile Send private message
lio



Joined: 28 Apr 2006
Posts: 10
Location: Beijing

PostPosted: Wed Jan 17, 2007 5:40 am    Post subject: Many errors, but fixed Reply with quote

I've fixed all named unions that did not have a variable declared. Committed as rev. 176
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Bindings 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