https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108694
Florian Weimer <fw at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fw at gcc dot gnu.org --- Comment #1 from Florian Weimer <fw at gcc dot gnu.org> --- Clang now has -Wdeprecated-non-prototype apparently: https://discourse.llvm.org/t/unresolved-issues-from-the-llvm-15-x-release/66071/36 This is probably not very useful as a warning: > void func3 (); /* warning: an empty parameter list in function declarators > will have a different meaning in ISO C23 */ “()” is going to be fine when matched with an empty parameter list in a definition, or an empty argument list in a call. I don't think it's necessary to warn in those cases. It distracts from the real issue.