3 ms·
Thank you, Ray. Any old compilers in your time machine as well? ;-) I had (incorrectly) presumed that this older K&R style of C predated Windows and was never p
by chinpokomon 12y ago
Thank you, Ray. Any old compilers in your time machine as well? ;-) I had (incorrectly) presumed that this older K&R style of C predated Windows and was never ported from Unix.
- stormbrew 12y agoUntil a few years ago you could still find K&R declarations in the Ruby source code[1]. Wasn't until 1.9 that they switched things over to ANSI style, iirc. So, believe it or not, you might still find it out there in the wild. [1] eg: https://github.com/ruby/ruby/blob/v1_8_7_374/compar.c https://github.com/ruby/ruby/blob/v1_8_7_374/compar.c
- astrange 12y agounzip and zlib, which you can find embedded in many other projects, use K&R C style to this day.
- umanwizard 12y agoFreeBSD still uses this declaration style liberally (keep in mind FreeBSD is a fork of BSD which has been around for some decades, and it makes sense that there's some old code floating around in the kernel)
- rozzie 12y agoOf course. I've uploaded a UTILITIES folder that has all the build tools. In BIN, cc.exe is the compiler, but it forks the P*.exe's for each pass.