3 ms·
Well, before the first ANSI standard, ALL behavior was "undefined", and yet we got many working compilers and tons of working code.
by mpweiher 12y ago
Well, before the first ANSI standard, ALL behavior was "undefined", and yet we got many working compilers and tons of working code.
- _kst_ 12y agoBefore the first ANSI standard, we had the C Reference Manual in the back of K&R1. The definition was merely less rigorous (and that lack of rigor often led to complex nests of "#ifdef"s). If a compiler generated code that evaluated 2 + 2 and yielded a result of 5, we could confidently say that compiler had a bug.