Re:A Guide to Undefined Behavior in C and C++ (2010)
by pajko on Monday March 17, 2025 @07:46PM
(#43394031)
UB can be converted to ID by using -fwrapv (to "standardize" the wrapround, which does not necessarily help if the overflow was not intentional) or -ftrapv (generate an exception).
[ Parent
| on HN ]
There are no comments on this comment yet.