Problem compiling current CVS on Redhat 8

John K. Hohm jhohm at acm.org
Sun Jan 19 22:00:25 CST 2003


> wine/dlls/comcat/:
> 
> comcat_private.h:45: conflicting types for `ClassFactoryImpl'
> comcat.h:49: previous declaration of `ClassFactoryImpl'
> [more of same error for ther types]

I'm quite confused by this; the current comcat.h only has 34 lines,
and doesn't define ClassFactoryImpl.

> I also get this:
> gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
> -mpreferred-stack-boundary=2 -gstabs+  -fPIC -D__WINESRC__
> -D_REENTRANT -o comcat_main.o comcat_main.c
> In file included from comcat.h:28,
>                  from comcat_private.h:29,
>                  from comcat_main.c:21:
> .../../include/wine/obj_base.h:26:2: #error DO NOT INCLUDE DIRECTLY

The current comcat.h doesn't include obj_base.h.  Are you certain
you have the latest from CVS?  You can see it here:

http://cvs.winehq.com/cvsweb/wine/include/comcat.h?rev=1.7&content-type=text/x-cvsweb-markup




More information about the wine-devel mailing list