Y
Hacker News
new
|
ask
|
show
|
jobs
by
boryas
1033 days ago
-fwrapv and it's all good :)
1 comments
not2b
1033 days ago
It really isn't optional as a C developer to turn on warnings and get your code warning-free. This will eliminate the most common unbounded behavior issues, like uninitialized variables, though unfortunately not all of them.
link
boryas
1027 days ago
linux, qemu, postgres and many other projects written by "C developers" use and rely on fwrapv, fno-strict-aliasing and others.
link
not2b
1026 days ago
They also turn on warnings, so they catch uninitialized variables and the like.
link