Opened 14 years ago

Closed 14 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 dmik, 14 years ago

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

comment:2 by ydario, 14 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:3 by dmik, 14 years ago

Should be fixed by r21447, please check.

comment:4 by ydario, 14 years ago

Resolution: fixed
Status: newclosed

(changeset:21447) takes care of defining a new set of nameless unions to include also the DOT in the macro.

Note: See TracTickets for help on using tickets.