https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92209
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easyhack Status|UNCONFIRMED |NEW Last reconfirmed| |2019-12-16 CC| |manu at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- The key here is to add the fix-hit hint more appropriate for the function declaration. Clang is not smart enough here, when you try with: static int func_1(); int func_1(int a) { return a; } Perhaps change the text to say: "a function prototype must specify the argument types" ? Either way, it should be easy to fix for a new contributor.