Re: So what Standard are we working off?



Keith Thompson wrote:
Ben Pfaff <blp@xxxxxxxxxxxxxxx> writes:
"Peter Nilsson" <airia@xxxxxxxxxxx> writes:
It already has. Note that most regulars in clc actually quote
c&v from the C99 standard because their copies of the C90
standard have long since gone and for the most part, the
semantics are unchanged.
The reason that I quote mainly from C99 is because the final
standard is available as a nicely generated PDF (which I have
converted to plain text format). The older standard was only
available in draft form in an easy-to-cut-and-paste format
(although a PDF was available, it was, as I understand it, a
scanned version of the dead trees).

I can't speak for the other regulars, of course.

I have a PDF copy of the final C90 standard, and yes, it appears to be
scanned from dead trees, and it has no PDF bookmarks. I can
copy-and-paste from it, but the result looks like this:

4 Compliance

A srr-icr!\ corlfornri~~ PWJXI?U~~ shall use only those features
of the language and library specified in this International
Standard It shall not produce output dependent on any unspecitied.
undefined. or implementation-detined behavior. and shall not
exceed any minimum implementation limit

Actually it's not usually that bad (there seems to be a problem with
italics), but I do get a lot of errors involving characters that look
similar (',' vs. ',', 't' vs 'f', etc.). I usually clean things up
when I post them here. (Actually, I usually copy-and-paste from n1124
instead.)

Is there a case where a correct C90 program cannot be successfully compiled by a C99 compiler? Actually this is not a compiler question but a language one. Is there anything in C90 that C99 must reject or handle differently?

--
Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
.



Relevant Pages

  • Re: Storgae durations
    ... last article you don't even have a conforming C99 implementation on your ... you think there can only be *one* standard? ... compiler, but that's not what I mentioned. ...
    (comp.lang.c)
  • Re: How many levels of pointers can you have?
    ... As I keep pointing out you have to check the compiler docs on each ... C90 is obsolete. ... C99 IS the standard. ... Most current compilers fail to meet the C99 standard because certain ...
    (comp.lang.c)
  • Re: Some general questions about C and good practice
    ... C89 is the 1989 ANSI standard, the first official standard for the ... C99 is the 1999 ISO standard. ... the C90 standard, but very few implementations fully support it. ... but few compilers yet implement ...
    (comp.lang.c)
  • Re: Storgae durations
    ... last article you don't even have a conforming C99 implementation on your ... you think there can only be *one* standard? ... seen on any compiler. ...
    (comp.lang.c)
  • Re: Downloadable standards file?
    ... I was pointed to a file called n1124.pdf which turns out to be a C99 ... It appears that quoting from that standard makes a lot of ... Is there a C90 file I can download for free and cross reference with my ... If my compiler is C99, ...
    (comp.lang.c)