Article View: eunet.followup
Article #649Re: ANSI C draft
From: Anders Thulin
Date: Fri, 28 Apr 1989 06:06
Date: Fri, 28 Apr 1989 06:06
29 lines
2148 bytes
2148 bytes
In article <4449@cheviot.newcastle.ac.uk> Lindsay.Marshall@newcastle.ac.uk (Lindsay F. Marshall) writes:
>In article <2615@netmbx.UUCP> martini@netmbx.UUCP (Martin Ibert):
>> [...recommends the second edition of K&R...]
>
>Whatever you do, DO NOT buy this as a reference for ANSI C at the
>moment!!!!! There are errors in this as they guessed wrong about the
>standard. There is a fixed version coming out, so make sure you get
>that one.
Could you elaborate on this? Which parts are in error? What guesses
were wrong? Are there any better books to buy?
I remember a similar question in comp.lang.c some time ago, which was
followed by a similar warning. Dennis Ritchie made a follow-up in
which he said essentially that there were no major errors in the text.
If I remember correctly the errors that were present were mostly in
the internationalization part (setlocale, wide characters and those
things). He also said that the changes would be sent to comp.lang.c,
which suggests that they can't be very voluminous.
My personal opinion is that there is no harm in using K&R II as a
description of ANSI C for ordinary use, perhaps in conjunction
with Harbison & Steele, ed 2. Only compiler writers will need to have
the real thing, but they should be working from the ANSI draft anyway.
--
Anders Thulin INET : ath@prosys.se
Programsystem AB UUCP : ...!{uunet,mcvax}!sunic!prosys!ath
Teknikringen 2A PHONE: +46 (0)13 21 40 40
S-583 30 Linkoping, Sweden FAX : +46 (0)13 21 36 35
Technical Details
Message-ID:
<413@helios.prosys.se>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcvax!kth!sunic!liuida!prosys!athReferences:
<1989Apr15.163754.7354@isy.liu.se> <2615@netmbx.UUCP> <4449@cheviot.newcastle.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 164d81,da1833d0fb60eb9c X-Google-Attributes: gid164d81,public X-Google-ArrivalTime: 1989-04-21 02:19:01 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcvax!kth!sunic!liuida!prosys!ath From: ath@helios.prosys.se (Anders Thulin) Newsgroups: eunet.followup Subject: Re: ANSI C draft Message-ID: <413@helios.prosys.se> Date: 28 Apr 89 06:06:15 GMT References: <1989Apr15.163754.7354@isy.liu.se> <2615@netmbx.UUCP> <4449@cheviot.newcastle.ac.uk> Distribution: eunet Organization: Programsystem AB, Linkoping, SWEDEN Lines: 29 Posted: Fri Apr 28 07:06:15 1989 Reply-To: ath@prosys.se