gcc-20010409 compilation fails on Tru64 Unix
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Thu Apr 12 05:09:00 GMT 2001
Per,
> Ok, now I have a 3.0-branch and the patch applied fine.
> I then ran "autoconf" in the gcc dir, but I STILL get
> cc: Error: ./system.h, line 561: In this declaration, "char" cannot be
> combined with "_Bool". (typeconflict)
> typedef char _Bool;
> -------------^
> *** Exit 1
> Stop.
>
> ;-(
>
> What am I doing wrong?
you need to run both autoconf (to regenerate configure from configure.in
and aclocal.m4) and autoheader (to regenerate config.in). Otherwise, even
if configure correctly determines HAVE__BOOL (you can check this in
gcc/config.status after running configure; HAVE__BOOL should be 1), that
value isn't propagated to config.h since the appropriate template in
config.in is missing. If everything is correct, you should find
#define HAVE__BOOL 1
in config.h after the configure run.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE
More information about the Gcc-bugs
mailing list