Opened 10 years ago

Closed 10 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:


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 Changed 10 years ago by dmik

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

comment:2 Changed 10 years ago by ydario

In ntdll.c, line 255


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 Changed 10 years ago by dmik

Should be fixed by r21447, please check.

comment:4 Changed 10 years ago by ydario

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.