[Bug 27663] New: 32bit gcc fails to compile WINE
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jun 30 15:24:32 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=27663
Summary: 32bit gcc fails to compile WINE
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: vincas.miliunas at gmail.com
Created an attachment (id=35379)
--> (http://bugs.winehq.org/attachment.cgi?id=35379)
A test-case that fails to compile
As discovered by Wylda and posted on wine-devel mailing list, 32bit gcc fails
to compile a certain include statement sequence I used for my raw input patch.
Message confirming test-case failure -
http://www.winehq.org/pipermail/wine-devel/2011-June/090886.html
I fixed it by applying the following modification:
-#include <stdlib.h>
+#include "config.h"
+#include "wine/port.h"
+
+#include <assert.h>
+#include <stdarg.h>
#include <stdio.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
-#include "winnt.h"
-#include "winternl.h"
#include "winbase.h"
#include "winuser.h"
+#include "winternl.h"
Looks like including "winternl.h" before "winbase.h" and "winuser.h" is
implicitly incorrect.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list