Opened 15 years ago
Closed 15 years ago
#9 closed defect (fixed)
Build break with gcc 4.4.4
| Reported by: | ydario | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | odin | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
Build of ntdll is no longer possible with gcc 4.x; still working with gcc 3.x
Revision 21376 compiles also with gcc 4.x; I think there is something not working correctly with NAMELESS structures support. Maybe some header with wrong defines.
Change History (4)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
In ntdll.c, line 255
IoStatusBlock->DUMMYUNIONNAME.Status = STATUS_SUCCESS;
was compiled (r21376) as
IoStatusBlock->u.Status = 0x00000000;
while now it is
IoStatusBlock->.Status = 0x00000000;
This is because of change in definition of NONAMELESSUNION in include\odin.h.
comment:4 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
(changeset:21447) takes care of defining a new set of nameless unions to include also the DOT in the macro.

Could you please give the exact output of the gcc4 compiler you get (including all error messages)?