This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for windef.h (was Re: Compile Problems with Harold's Server...)


This patch fixes the compile problems below.

john


----- Original Message ----- 
From: "Suhaib Siddiqi" <ssiddiqi@inspirepharm.com>
To: <cygwin-xfree@cygwin.com>
Sent: Wednesday, April 11, 2001 5:14 PM
Subject: RE: Compile Problems with Harold's Server...


> 
> I just downloaded the snapshot which supposed to have Harold patches
> applied, I am geting the following errors.  With the snapshot I had
> diference namespace errors.
> 
> In file included from /usr/include/windef.h:145,
>                  from /usr/include/windows.h:96,
>                  from winms.h:44,
>                  from win.h:166,
>                  from InitInput.c:27:
> /usr/include/winnt.h:2487: warning: ANSI C doesn't support unnamed
> structs/union
> s
> In file included from /usr/include/windows.h:100,
>                  from winms.h:44,
>                  from win.h:166,
>                  from InitInput.c:27:
> /usr/include/winbase.h:955: parse error before `PBOOL'
> /usr/include/winbase.h:956: parse error before `PBOOL'
> /usr/include/winbase.h:957: parse error before `PBOOL'
> /usr/include/winbase.h:1001: parse error before `LPBOOL'
> /usr/include/winbase.h:1002: parse error before `LPBOOL'
> /usr/include/winbase.h:1212: parse error before `PBOOL'
> /usr/include/winbase.h:1226: parse error before `LPBOOL'
> /usr/include/winbase.h:1227: parse error before `LPBOOL'
> /usr/include/winbase.h:1229: parse error before `LPBOOL'
> /usr/include/winbase.h:1230: parse error before `LPBOOL'
> /usr/include/winbase.h:1245: parse error before `PBOOL'
> /usr/include/winbase.h:1256: parse error before `PBOOL'
> /usr/include/winbase.h:1395: parse error before `PBOOL'
> /usr/include/winbase.h:1396: parse error before `PBOOL'
> /usr/include/winbase.h:1422: parse error before `PBOOL'
> In file included from /usr/include/windows.h:105,
>                  from winms.h:44,
>                  from win.h:166,
>                  from InitInput.c:27:
> /usr/include/winuser.h:2659: parse error before `PBOOL'
> In file included from /usr/include/windows.h:108,
>                  from winms.h:44,
>                  from win.h:166,
>                  from InitInput.c:27:
> /usr/include/winnls.h:547: parse error before `LPBOOL'
> make[1]: *** [InitInput.o] Error 1
> make[1]: Leaving directory
> `/cygdrive/c/shadowfb/temp/xc/programs/Xserver/hw/xwi
> n'
> make: *** [hw/xwin] Error 2
> 
> Suhaib

windef-h.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]