This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Generate string.h and time.h if nonexistent; kill POSIX
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: Generate string.h and time.h if nonexistent; kill POSIX
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sat, 12 May 2001 00:37:41 -0400 (EDT)
> From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
>
> On 11 May 2001, Russ Allbery wrote:
> > It's *really* hard to find pre-C89 systems any more unless one
> > intentionally keeps one around for testing purposes or is a hobbiest
> > porting things to old systems for fun.
>
> In that case, we should strongly consider dropping support for such
> old systems.
>
> Even the GNU coding standards do no longer require support for them, by
> the way, and explicitly allow requiring newer dialects of C.
AFAICT, the coding standards allow *new* packages to be written in
c89. Existing packages are not given that exception, in fact if K&R
support already exists, the standards encourage maintaining it. See
http://www.gnu.org/prep/standards.html#SEC10
Even if this were changed, IMHO gcc itself is a special case. You're
in a catch-22 situation if no c89 compiler exists for your system, and
you can't build gcc!
--Kaveh
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions