3 ms·
Yes, but I guess that code would break in a million ways today in a modern C++ compiler It certainly worked at the time, for that specific compiler
by raverbashing 11y ago
Yes, but I guess that code would break in a million ways today in a modern C++ compiler
It certainly worked at the time, for that specific compiler
- pjmlp 11y agoIt was still a language feature even if it wasn't available 100% bug free in all C++ compilers. C code also used to break left and right long after C90 was approved. I had to use K&R C style code in 1999 because the HP-UX compiler at a customer location didn't knew any better, but that didn't mean other C features weren't available elsewhere.
- raverbashing 11y ago> I had to use K&R C style code in 1999 because the HP-UX compiler at a customer location didn't knew any better, but that didn't mean other C features weren't available elsewhere. Curious, what did you need to do specifically? Parameter declarations weren't inlined? But anyway, C, being smaller, breaks in fewer ways
- pjmlp 11y ago> Curious, what did you need to do specifically? Parameter declarations weren't inlined? In those days HP-UX C compiler was still transitioning between K&R and ANSI standards. We could only properly compile without strange errors while using K&R function declarations. If memory serves me right, it was the first HP-UX release having support for 64bit file systems.