3 ms·
> 40 year old Unix software (K&R C,IPC/network sockets) would work on a modern linux with trivial or zero changes, and it doesn't look like it's gonna change so
by AnimalMuppet 3y ago
> 40 year old Unix software (K&R C,IPC/network sockets) would work on a modern linux with trivial or zero changes, and it doesn't look like it's gonna change soon.
Is that true? Will K&R C (that is, C with old-style function declarations, not prototypes) compile on a modern compiler? I thought that gcc, for instance, no longer supported that declaration style. (And if you just have to add a flag to the makefile, I will agree that it's a trivial change.)
On the sockets, I agree with you.
- nullifidian 3y ago>I thought that gcc, for instance, no longer supported that declaration style. It's g++ that doesn't support this, gcc should.