Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Phyx
· 2y ago · 0 comments
-std=gnu98 works. ie explicitly telling it your code is not modern C.
Comments
[–]
mid-kid
2y ago
The new flags apply regardless of -std value, as does -fno-common
[–]
Phyx
OP
2y ago
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.