On Sun, Oct 30, 2011 at 1:39 PM, Mouse <mouse at rodents-montreal.org> wrote:
C is
standardised...
You can't teach "standard C" without picking a standard, too. ?There
are at least three (K&R v1, ANSI C, and C99) and probably more that I'm
not aware of or which don't come to mind immediately.
Long ago, I ran across one environment that wasn't fully conformant
with even K&R - mostly, but there were a few warts that occasionally
caused stumbles. It might have been the Whitesmith's C compiler for
VMS from 1982 or 1983 or so (we stuck with that same compiler into the
90s because migrating that codebase to DEC's VAX-C was a traumatic and
drawn-out process).
To be fair, it also might have been standard library implementation
issues that I'm remembering, not the compiler itself, but I do
remember importing code from elsewhere that ought to have worked but
did not.
-et