>In file included from ./../g++-include/sys/types.h:15, from /usr/include/unistd.h:72, from ./../g++-include/unistd.h:25, from ./std.h:28, from AllocRing.cc:22:
>/usr/include/sys/types.h:24: conflicting types for `wchar_t'
>./../g++-include/stddef.h:11: previous declaration of `wchar_t'
>*** Error code 1
>make: Fatal error: Command failed for target `AllocRing.o'
After I posted the message, I discovered that there was in fact an
earlier posting from Howard Ferguson <hlf@cerf.net> with much the same
problem described. I contacted Howard, and he said that Per Bothner
<bothner@cygnus.com> told him to run the following after installing
gcc-2.3.3:
make install-fixincludes
(per the gcc instructions). This does indeed fix the problem. I do
get some warnings here and there.
I always thought the fixincludes step was optional; you could run gcc
with the -traditional flag and you'd be about as well off. Apparently
this isn't true for libg++. I wish the libg++ documentation said