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

John Fortin fortinj@attglobal.net
Wed Apr 11 17:41:00 GMT 2001


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: windef-h.diff
Type: text/x-diff
Size: 358 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20010411/8f633097/attachment.bin>


More information about the Cygwin-xfree mailing list