This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Convert 3.2 sources to ISO C90
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: law at redhat dot com
- Cc: Stan Shebs <shebs at apple dot com>,Marc Espie <espie at quatramaran dot ens dot fr>, <gcc at gcc dot gnu dot org>
- Date: Thu, 6 Jun 2002 11:00:03 -0400 (EDT)
- Subject: Re: Convert 3.2 sources to ISO C90
>
> > Again, a minor issue, and I wouldn't even have brought it up if
> > I didn't think that the time and complexity savings justified the
> > small effort of making the transition.
> I disagree strongly. It wasn't that long ago I was on-site with a customer
> that had applied a patch from HP which resulted in their copy of GCC being
> utterly useless. In fact, the HP patch made any existing GCC binary from
> anywhere utterly useless. This particular customer didn't have the
> unbundled compiler from HP. Luckily I was able to identify the problems
> the HP patch caused, fix the source for GCC, then bootstrap it using HP's
> bundled compiler. If we had ANSI-ified the sources, then we would have been
> hosed worse than I care to imagine.
Yes, so hosed you'd have to run ansi2knr (included by automake, and in
fact, if we used automakeified makefiles, it could be run automatically
for us when necessary) over the files.
BFD.
--Dan