Hacker News new | ask | show | jobs
by adgjlsfhk1 1172 days ago
> you have to be careful to test your code on different compiler settings.

The problem is you have to test your code on compilers that don't exist yet with compiler settings that do different things from any compiler that ever might exist.

1 comments

This has always been the case. If you write code that has UB, new compilers can do something yet undefined, by definition.