Compile time error in w32lib/lib/dxguid.o

Danny Smith danny_r_smith_2001@yahoo.co.nz
Wed Jan 8 11:02:00 GMT 2003


 --- Corinna Vinschen <vinschen@redhat.com> wrote: > Hi,
> 
> I can't compile dxguid.c in w32api.  The following error happens:
> 
> i686-pc-cygwin-gcc [...] w32api/lib/dxguid.c
> In file included from [...]/winsup/w32api/lib/../include/oleauto.h:83,
>                  from [...]/winsup/w32api/lib/../include/ole2.h:11,
> 		 from [...]/winsup/w32api/lib/../include/unknwn.h:3,
> 		 from [...]/winsup/w32api/lib/../include/objbase.h:58,
> 		 from [...]/winsup/w32api/lib/dxguid.c:28:
> [...]/winsup/w32api/lib/../include/oaidl.h:110: parse error before `IUnknown'
> 

Another circular header include problem that is seen with gcc-2.95 but not with
3.x.

I have fixed both the specific problem in dxguid.c (unnecessary inclusion of
objbase.h) and the more general one caused by my patch of 2002-12-26.

Danny

http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?



More information about the Cygwin-developers mailing list