From 02a881e0a702cfc5e2062669b7643a3c5d255d20 Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Sat, 8 Mar 2014 15:11:25 +0100 Subject: Silence a lot of "attribute ignored" compiler warnings. I hope this does not break something as it applies to x86 only anyway. --- src/libw32dll/wine/pe_image.h | 12 ++++++------ src/libw32dll/wine/winbase.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/libw32dll/wine/pe_image.h b/src/libw32dll/wine/pe_image.h index 9b4f322c6..4c85be1ed 100644 --- a/src/libw32dll/wine/pe_image.h +++ b/src/libw32dll/wine/pe_image.h @@ -57,16 +57,16 @@ typedef DWORD CALLBACK (*DLLENTRYPROC)(HMODULE,DWORD,LPVOID); typedef struct { WORD popl WINE_PACKED; /* 0x8f 0x05 */ DWORD addr_popped WINE_PACKED;/* ... */ - BYTE pushl1 WINE_PACKED; /* 0x68 */ + BYTE pushl1; /* 0x68 */ DWORD newret WINE_PACKED; /* ... */ - BYTE pushl2 WINE_PACKED; /* 0x68 */ + BYTE pushl2; /* 0x68 */ DWORD origfun WINE_PACKED; /* original function */ - BYTE ret1 WINE_PACKED; /* 0xc3 */ + BYTE ret1; /* 0xc3 */ WORD addesp WINE_PACKED; /* 0x83 0xc4 */ - BYTE nrofargs WINE_PACKED; /* nr of arguments to add esp, */ - BYTE pushl3 WINE_PACKED; /* 0x68 */ + BYTE nrofargs; /* nr of arguments to add esp, */ + BYTE pushl3; /* 0x68 */ DWORD oldret WINE_PACKED; /* Filled out from popl above */ - BYTE ret2 WINE_PACKED; /* 0xc3 */ + BYTE ret2; /* 0xc3 */ } ELF_STDCALL_STUB; typedef struct { diff --git a/src/libw32dll/wine/winbase.h b/src/libw32dll/wine/winbase.h index 8746da891..5fe2b5708 100644 --- a/src/libw32dll/wine/winbase.h +++ b/src/libw32dll/wine/winbase.h @@ -541,7 +541,7 @@ typedef struct UINT16 flags; DWORD dwOptions WINE_PACKED; DWORD dwFilter WINE_PACKED; - CHAR achAllocModule[8] WINE_PACKED; + CHAR achAllocModule[8]; DWORD dwAllocBreak WINE_PACKED; DWORD dwAllocCount WINE_PACKED; } WINDEBUGINFO, *LPWINDEBUGINFO; -- cgit v1.2.3