did I miss a "the tree isn't supposed to build anymore" memo or what? fixes for compilation with GCC 3.3.3 Modified: trunk/reactos/drivers/net/npf/win_bpf.h Modified: trunk/reactos/lib/adns/src/internal.h Modified: trunk/reactos/ntoskrnl/include/internal/kd.h Modified: trunk/reactos/ntoskrnl/include/internal/ke.h Modified: trunk/reactos/ntoskrnl/kd/wrappers/gdbstub.c _____
Modified: trunk/reactos/drivers/net/npf/win_bpf.h --- trunk/reactos/drivers/net/npf/win_bpf.h 2005-06-13 13:21:34 UTC (rev 15882) +++ trunk/reactos/drivers/net/npf/win_bpf.h 2005-06-13 14:36:02 UTC (rev 15883) @@ -45,9 +45,11 @@
/* BSD style release date */ #define BPF_RELEASE 199606
+#ifndef _BSDTYPES_DEFINED typedef UCHAR u_char; typedef USHORT u_short; typedef UINT u_int; +#endif typedef LONG bpf_int32; typedef ULONG bpf_u_int32; typedef ULONG u_int32; _____
Modified: trunk/reactos/lib/adns/src/internal.h --- trunk/reactos/lib/adns/src/internal.h 2005-06-13 13:21:34 UTC (rev 15882) +++ trunk/reactos/lib/adns/src/internal.h 2005-06-13 14:36:02 UTC (rev 15883) @@ -31,7 +31,7 @@
#define ADNS_INTERNAL_H_INCLUDED
#include "config.h" -typedef unsigned char byte; +/*typedef unsigned char byte;*/ /* FIXME: horrible kludge to avoid conflicts with an SDK type */
#include <stdarg.h> #include <assert.h> _____
Modified: trunk/reactos/ntoskrnl/include/internal/kd.h --- trunk/reactos/ntoskrnl/include/internal/kd.h 2005-06-13 13:21:34 UTC (rev 15882) +++ trunk/reactos/ntoskrnl/include/internal/kd.h 2005-06-13 14:36:02 UTC (rev 15883) @@ -108,24 +108,20 @@
typedef VOID -STDCALL -(*PKDP_INIT_ROUTINE)(struct _KD_DISPATCH_TABLE *DispatchTable, +(STDCALL*PKDP_INIT_ROUTINE)(struct _KD_DISPATCH_TABLE *DispatchTable, ULONG BootPhase);
typedef VOID -STDCALL -(*PKDP_PRINT_ROUTINE)(PCH String); +(STDCALL*PKDP_PRINT_ROUTINE)(PCH String);
typedef VOID -STDCALL -(*PKDP_PROMPT_ROUTINE)(PCH String); +(STDCALL*PKDP_PROMPT_ROUTINE)(PCH String);
typedef KD_CONTINUE_TYPE -STDCALL -(*PKDP_EXCEPTION_ROUTINE)(PEXCEPTION_RECORD ExceptionRecord, +(STDCALL*PKDP_EXCEPTION_ROUTINE)(PEXCEPTION_RECORD ExceptionRecord, PCONTEXT Context, PKTRAP_FRAME TrapFrame);
_____
Modified: trunk/reactos/ntoskrnl/include/internal/ke.h --- trunk/reactos/ntoskrnl/include/internal/ke.h 2005-06-13 13:21:34 UTC (rev 15882) +++ trunk/reactos/ntoskrnl/include/internal/ke.h 2005-06-13 14:36:02 UTC (rev 15883) @@ -36,11 +36,10 @@
#ifndef __USE_W32API
typedef struct _KPROCESS *PKPROCESS; +typedef struct _DISPATCHER_HEADER *PDISPATCHER_HEADER;
#endif /* __USE_W32API */
-typedef struct _DISPATCHER_HEADER *PDISPATCHER_HEADER; - typedef struct _HARDWARE_PTE_X86 { ULONG Valid : 1; ULONG Write : 1; _____
Modified: trunk/reactos/ntoskrnl/kd/wrappers/gdbstub.c --- trunk/reactos/ntoskrnl/kd/wrappers/gdbstub.c 2005-06-13 13:21:34 UTC (rev 15882) +++ trunk/reactos/ntoskrnl/kd/wrappers/gdbstub.c 2005-06-13 14:36:02 UTC (rev 15883) @@ -132,20 +132,6 @@
#define EIP_REGNO 8
-typedef -VOID -STDCALL_FUNC -(*PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine, - PVOID StartContext); - -VOID -STDCALL -KiThreadStartup(PKSYSTEM_ROUTINE SystemRoutine, - PKSTART_ROUTINE StartRoutine, - PVOID StartContext, - BOOLEAN UserThread, - KTRAP_FRAME TrapFrame); - static CPU_REGISTER GspRegisters[NUMREGS] = { { 4, FIELD_OFFSET (KTRAP_FRAME_X86, Eax), FIELD_OFFSET (CONTEXT, Eax), TRUE },