4 ms·
> In c, with no dependencies, and -Werror disabled, it is likely decades. How might C code like this eventually fail, assuming future C standards remain backwa
by pansa2 6y ago
> In c, with no dependencies, and -Werror disabled, it is likely decades.
How might C code like this eventually fail, assuming future C standards remain backwards-compatible? Perhaps because C code is likely to contain (currently benign) undefined behaviour, which future compilers may take advantage of?
- ender341341 6y agoThey've removed `gets` from the standard library, though I don't know if any common implementations have actually removed it. I'd say there are at least a couple other landmines that could be removed but I have a much harder time seeing those actually getting killed off.