2 ms·
A fun one that'd fit list be sequence point violations like i = i++
by weinzierl 5mo ago
A fun one that'd fit list be sequence point violations like
i = i++
- radiospiel 5mo agoFun, sure, but also GCC and Clang will both warn with -Wall (-Wsequence-point / -Wunsequenced).
- leni536 5mo agoOnly in C, that one is defined in C++. edit: I'm not sure it's even undefined in C.
- account42 5mo agoThis would also be a code smell even if it was well defined.
- marcosdumay 5mo agoYes, it should be an explicit error. Not undefined.