Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pajko
on March 17, 2025
|
parent
|
context
|
favorite
| on:
A Guide to Undefined Behavior in C and C++ (2010)
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).
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: