This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: how to handle union wait portably?
- To: msokolov at ivan dot Harhan dot ORG (Michael Sokolov)
- Subject: Re: RFA: how to handle union wait portably?
- From: Per Bothner <per at bothner dot com>
- Date: 30 Dec 2000 10:01:49 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <0012290644.AA24278@ivan.Harhan.ORG>
msokolov@ivan.Harhan.ORG (Michael Sokolov) writes:
> The upshot of all this is that everything works correctly except when doing a
> 3-stage GCC bootstrap with make bootstrap using the native cc as the starting
> compiler. I don't see how the GCC source could be changed to avoid this
> problem.
It seems to me that when you switch compilers you should re-run
configure. So arguably it is a bug in 'make bootstap' if it doesn't
do that.
Another possible solution: Add fix-includes changes so that
WIFEXITED etc cast their arguments to (union wait*).
One might argue that both fixes should be done.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/