Re:GCC 14.1 Release
by cozzyd on Tuesday May 07, 2024 @10:37AM
(#40286027)
it would be nice if they provided a gcc-ancient-compat or something though it's easy enough to create an alias with the correct flags.
[ Parent
| on HN ]
-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.