wchar_t conflicting types on RHL 6.0?

Christian Jönsson FOA 72 chj@lin.foa.se
Sat Sep 4 05:25:00 GMT 1999


I just tried to update ``my'' contributed Red Hat Linux 6.0 of mp, however 
it fails to compile under RHL 6.0/Intel, (up to date as of 1999-09-04), 
using gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). The 
problem is generic but I report it here also, I'll check into the matter as 
soon as I can. Any hints? The spec file (containg pointer to source) and the
``patch'' to mp is attached.

Cheers,

/ChJ


BTW, here's the ``problem'':


In file included from /usr/X11R6/include/X11/Intrinsic.h:57,
                 from tu_runtime.c:37:
/usr/X11R6/include/X11/Xlib.h:79: conflicting types for `wchar_t'
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stddef.h:255: previous declaration of `wchar_t'
tu_runtime.c: In function `getid':
tu_runtime.c:132: warning: comparison between pointer and integer
tu_runtime.c: At top level:
tu_runtime.c:159: warning: static declaration for `getwd' follows non-static
make[1]: *** [tu_runtime.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/mpdist/mptool'
make: *** [mptool] Error 2                    







More information about the Gcc-bugs mailing list