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

Yeah my own first reaction was “Oh, gcc doesn’t warn about overflow assignment? That’s a definite bug.”

I code in C/C++ too, although not exclusively. I facepalmed a few seconds later, but it goes to show the value of having this be a compiler warning.



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

Search: