I'm using Red Hat 7.0 + gcc update (yes, I know Red Hat shouldn't have
shipped a snapshot release of gcc). I get the following compilation
error on ole/uuid.c when using Red Hat 7's gcc. When I re-run configure
with CC=kgcc (AKA egcs-1.1.2), uuid.c compiles correctly. Since there's
been a lot of work recently on the OLE support, could someone who
actually understands this stuff enlighten me about the problem is here?
gcc -c -I. -I. -I../include -I../include -g -O2 -Wall
-mpreferred-stack-boundary=2 -fPIC -D__WINE__ -D_REEN
TRANT -I/usr/X11R6/include -o uuid.o uuid.c
In file included from ../include/unknwn.h:12,
from ../include/objbase.h:6,
from uuid.c:16:
../include/wine/obj_base.h:392:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:394:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:396:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:398:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:400:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:402:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:404:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:406:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:408:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:410:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:412:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:414:27: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:417:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:419:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:421:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:425:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:427:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:429:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:431:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:433:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:435:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:437:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:439:28: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:479:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:480:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:481:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:482:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:483:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:484:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:485:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:486:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:487:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:488:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:489:72: warning: nothing can be pasted after
this token
../include/wine/obj_base.h:490:72: warning: nothing can be pasted after
this token
In file included from ../include/objbase.h:17,
from uuid.c:17:
../include/wine/obj_moniker.h:313: parse error before
`GetObject_must_be_suffixed_with_W_or_A_in_this_context'
../include/wine/obj_moniker.h:313: warning: no semicolon at end of
struct or union
../include/wine/obj_moniker.h:313: parse error before `}'
In file included from ../include/oleidl.h:21,
from uuid.c:21:
../include/wine/obj_inplace.h:420: parse error before
`GetObject_must_be_suffixed_with_W_or_A_in_this_context'
../include/wine/obj_inplace.h:420: warning: no semicolon at end of
struct or union
../include/wine/obj_inplace.h:420: parse error before `}'
In file included from ../include/ocidl.h:18,
from ../include/olectl.h:6,
from uuid.c:23:
../include/wine/obj_control.h:417: parse error before
`GetClassInfo_must_be_suffixed_with_W_or_A_in_this_context'
../include/wine/obj_control.h:417: warning: no semicolon at end of
struct or union
../include/wine/obj_control.h:438: parse error before
`GetClassInfo_must_be_suffixed_with_W_or_A_in_this_context'
../include/wine/obj_control.h:438: warning: no semicolon at end of
struct or union
../include/wine/obj_control.h:438: parse error before `}'
make[1]: *** [uuid.o] Error 1
This is with:
james[11]%gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
james[12]%rpm -q gcc
gcc-2.96-69
--
James Juran
[EMAIL PROTECTED]