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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compile time error in w32lib/lib/dxguid.o


 --- 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?


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