This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ bootstrap (part 4/n): Don't redefine bool, true and falsein C++


On Sat, 2004-07-24 at 21:32, Zack Weinberg wrote:

> There were, in fact, three different problems.  One was annoying, two
> was a headache, three was too much.
> 
> 1) If the bootstrap compiler supports bool/_Bool as a native type, it
>    may give it a different size from the GCC being bootstrapped, thus
>    causing ABI incompatibility between code compiled by the bootstrap
>    compiler (libiberty, libcpp, libbanshee, etc) and code compiled by
>    the new GCC during stage 2.
Amen!  I ran into this several times, probably because I tend to
mix-n-match .o's from different stage builds when investigating
bootstrap comparison failures.   Luckily I don't have to do a ton of
work on the platform which used to trip over this regularly (HP-UX).

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]