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

gcc's -Wstrict-aliasing is extremely inaccurate. It doesn't run inside the aliasing machinery; it's just a cheap heuristic inside the C parser. I'd call it a good example of why you shouldn't strive to fix a warning just because it happens to exist.

I thought there was a better tool, but can't find the name, hmm.



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

Search: