16 ms·
GCC 14 won't permit implicit int any more ... https://fedoraproject.org/wiki/Changes/PortingToModernC#Removal_of_implicit_int https://fedoraproject.org/wiki/Cha
by rwmj 3y ago
GCC 14 won't permit implicit int any more ... https://fedoraproject.org/wiki/Changes/PortingToModernC#Removal_of_implicit_int https://fedoraproject.org/wiki/Changes/PortingToModernC#Remo...
- darknavi 3y agoGood. It's almost as bad as not returning a value from a function being a warning and not an error.
- bonzini 3y agoJust compile with -std=c89
- anonymousiam 3y agoI guess I got lucky then. This Ubuntu 23.10 install has gcc 13.2.0-4ubuntu3 installed from the repo. Given that the code is pre-ANSI C, and that it won in the category of "Least likely to compile successfully", it's surprising that there are no other issues. I wouldn't normally run such a radioactive distro, but this laptop is so new that there is no LTS distro that works on it. (AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics)