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

gcc 4.9.2 gives: warning: 'bar' is used uninitialized in this function

Maybe you are using a old version.

If you enable -Wall which you always should then this flag is automatically enabled.

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#inde...



-Wuninitialized has been broken in GCC for over a decade: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501


As if we needed more proof that GCC is a fucking joke...


Hey Linus, how are you doing!




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

Search: