Remix.run Logo
An ambiguity in c89 which will never be fixed(sebsite.pw)
28 points by runningmike 2 days ago | 4 comments
bellowsgulch 2 days ago | parent | next [-]

All the weird stuff I have read about C or C++ doing over the years could be summed up with “Well… don’t do that.”

Like almost without fail. I can’t even think of how you’d end up in a scenario like this because a compiler would complain before letting you use an undefined implicit declaration.

bitbasher 2 days ago | parent [-]

That doesn't make it any less interesting :)

guenthert 2 days ago | parent | prev | next [-]

"because the problematic behavior was removed from the standard over 27 years ago, we'll never have closure on what the intended interpretation is."

Obsolete standard turns out to be insufficiently strict, news at 11.

benj111 2 days ago | parent | prev [-]

Visit the homepage https://sebsite.pw/

That's a nice bit of understated 90s design right there