3 ms·
-std=gnu98 works. ie explicitly telling it your code is not modern C.
by Phyx 2y ago
-std=gnu98 works. ie explicitly telling it your code is not modern C.
- mid-kid 2y agoThe new flags apply regardless of -std value, as does -fno-common
- Phyx 2y agoUhh no they don't, and it's explicitly documented under https://gcc.gnu.org/gcc-14/porting_to.html 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.