Hacker News new | past | comments | ask | show | jobs | submit login

Compilers will routinely warn if they can detect UB at compile time.

The problem is that except in a few trivial cases it is impossible to detect UB at compile time. Even whole program static analysis can only catch a small subset.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: