<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
Wolfgang Woehl wrote:<br>
<blockquote type="cite" cite="mid200407061455.40299.tito@rumford.de">
<pre wrap="">Roger Depreeuw <a class="moz-txt-link-rfc2396E" href="mailto:rogdepre@skynet.be"><rogdepre@skynet.be></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
Does anyone know why I got this error when trying to compile FST
I have gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) and
Wine 20040505
</pre>
</blockquote>
<pre wrap=""><!---->[snip]
</pre>
<blockquote type="cite">
<pre wrap="">In file included from thread.h:29,
from libwinelib.c:35:
/usr/include/wine/windows/winternl.h:840: parse error before "CCHAR"
/usr/include/wine/windows/winternl.h:840: warning: no semicolon at
end of struct or union
</pre>
</blockquote>
<pre wrap=""><!---->
I'd take a stab at the first message that is not a warning. Take a look
at winternl.h, the block around 840 should be
821 /* System Information Class 0x00 */
822 typedef struct _SYSTEM_BASIC_INFORMATION {
823 #ifdef __WINESRC__
824 DWORD dwUnknown1;
825 ULONG uKeMaximumIncrement;
826 ULONG uPageSize;
827 ULONG uMmNumberOfPhysicalPages;
828 ULONG uMmLowestPhysicalPage;
829 ULONG uMmHighestPhysicalPage;
830 ULONG uAllocationGranularity;
831 PVOID pLowestUserAddress;
832 PVOID pMmHighestUserAddress;
833 ULONG uKeActiveProcessors;
834 BYTE bKeNumberProcessors;
835 BYTE bUnknown2;
836 WORD wUnknown3;
837 #else
838 BYTE Reserved1[24];
839 PVOID Reserved2[4];
840 CCHAR NumberOfProcessors;
841 #endif
842 } SYSTEM_BASIC_INFORMATION, *PSYSTEM_BASIC_INFORMATION;
including the semicolons. Hm ...
Wolfgang,</pre>
</blockquote>
Thanks for your interest.<br>
However the header file winternl.h is exactley the same as you pointed out.<br>
I also tried a different version of wine with the same compile error<br>
Wine 20031118<br>
<blockquote type="cite" cite="mid200407061455.40299.tito@rumford.de">
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
</body>
</html>