3 ms·
maybe not quite the next version, from memory (and I ported compilers, and the kernels, for both) it was between v6 and v7 Unix
by Taniwha 5y ago
maybe not quite the next version, from memory (and I ported compilers, and the kernels, for both) it was between v6 and v7 Unix
- dn3500 5y agoThat's correct, it wasn't the next version of the Ritchie compiler, it was a whole new compiler, the Portable C Compiler. It used yacc to generate the parser, and yacc complained about the ambiguity. They left the old syntax in for quite a while.
- Taniwha 5y agoYup, almost certainly PCC - which also still has struct fields in a global namespace as a (possible wonderful, possibly horrible) hack to provide the equivalent to unions