https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82922
--- Comment #10 from Sam James <sam at gentoo dot org> --- (In reply to David Brown from comment #9) > Could -Wstrict-prototypes be added to -Wall, or even considered enabling by > default? The next C standard will make "void foo()" mean the same as "void > foo(void)", like in C++, which makes the scope for confusion high. Yes please, given Clang has done this (or essentially this, and added its own -Wdeprecated-non-prototype): - https://lwn.net/Articles/913505/ - https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 - https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 Anything which makes it easier to spot things which are going to become fatal in future is a good idea. Otherwise we'll have a headache now with Clang and a headache in a few years when defaults shift to c23.