Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> so arguably they should be turning it on & dealing with the consequences?

Most definitely, yes.



FWIW: I learned in a sibling comment, that this compiler flag doesn't produce a warning in this specific case anyway (but I think it should!).

In general (for any programming language, really), I would advocate for enabling warnings and address them as you go along.

Because that unlocks the developer feature of being able to react when code changes introduces warnings, as they generally point to unsound code.




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

Search: