View previous topic :: View next topic |
Author |
Message |
davidl
Joined: 17 Aug 2006 Posts: 27
|
Posted: Sun Jan 14, 2007 2:37 am Post subject: union bug in winnt.d |
|
|
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 |
|
Back to top |
|
|
lio
Joined: 28 Apr 2006 Posts: 10 Location: Beijing
|
Posted: Wed Jan 17, 2007 5:40 am Post subject: Many errors, but fixed |
|
|
I've fixed all named unions that did not have a variable declared. Committed as rev. 176 |
|
Back to top |
|
|
|