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

Compiler bugs are supposed to get fixed.

In C regarding UB, everything goes every single time the compiler gets upgraded.




In many cases, what is considered UB in the C standard is a widely accepted and documented extension in the vast majority of compilers. For example, nonstrict aliases are UB in ISO C, but are defined language extensions in MSVC, GCC, clang, and many other compiler vendors.


Now try to maintain a large C codebase stable and safe across such variety of compilers.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: