This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
- From: Phil Edwards <phil at jaj dot com>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: Richard dot Earnshaw at arm dot com, Olivier Galibert <galibert at pobox dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, Rupert Wood <me at rupey dot net>, gcc at gcc dot gnu dot org
- Date: Tue, 4 Mar 2003 12:36:11 -0500
- Subject: Re: Putting C++ code into gcc front end
- References: <200303041445.h24Ejhb15458@pc960.cambridge.arm.com> <1046797590.760.1.camel@steven>
On Tue, Mar 04, 2003 at 06:06:29PM +0100, Steven Bosscher wrote:
> Op di 04-03-2003, om 15:45 schreef Richard Earnshaw:
> > > Is it reasonable in 2003 to have a quite complex compiler written in
> > > K&R C? Not even ISO C?
> >
> > The last time this came up (probably less than 6 months ago), the answer
> > was "yes". We've been round this discussion before. Let's not rehash all
> > the same old arguments again.
>
> I believe that the answer was: "Yes, because we have exactly one
> platform that does not come with an ISO C compiler (HPUX). We will look
> at this issue again in the 3.4 time frame".
Daniel Berlin wrote what is IMHO the best and most precise summary of all
arguments for removing the K&R requirement:
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00675.html
Note the "HP agrees with us" bit.
For my own part, the changes in my local trees are all in ISO C, and
-Wno-traditional added where needed as a result. I have no intention
of ever writing K&R C again. The language has been standardized for a
freaking decade; I refuse to hobble myself because some HPUX user wants
to bootstrap with a "for kernel rebuilding only" compiler.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams