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

-std=gnu98 works. ie explicitly telling it your code is not modern C.


The new flags apply regardless of -std value, as does -fno-common


Uhh no they don't, and it's explicitly documented under https://gcc.gnu.org/gcc-14/porting_to.html in "Turning errors back into warnings".

Futher more every warning Explains why the std value affects them.




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

Search: