HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by weinzierl | Hacker News Reader
Full thread
weinzierl
·
A fun one that'd fit list be sequence point violations like
i = i++
View on HN
radiospiel
·
Fun, sure, but also GCC and Clang will both warn with -Wall (-Wsequence-point / -Wunsequenced).
account42
·
This would also be a code smell even if it was well defined.
marcosdumay
·
Yes, it should be an explicit error. Not undefined.
leni536
·
Only in C, that one is defined in C++.
edit: I'm not sure it's even undefined in C.
Reply on news.ycombinator.com