Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
boryas
· 3y ago · 0 comments
-fwrapv and it's all good :)
Comments
[–]
not2b
3y 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.
[–]
boryas
OP
3y ago
linux, qemu, postgres and many other projects written by "C developers" use and rely on fwrapv, fno-strict-aliasing and others.
[–]
not2b
3y ago
They also turn on warnings, so they catch uninitialized variables and the like.