On Fri, 21 Oct 2022, Florian Weimer via Gcc wrote: > What's the expected default behavior for GCC 14 regarding old-style > function definitions (function definitions which do not have a > prototype)? I assume if GCC 14 defaults to C2x mode, these no longer > valid constructs would be rejected by default? Based on some earlier
The existing situation is that it's a warning enabled by default in C2x mode. You could of course argue for an error instead. -- Joseph S. Myers jos...@codesourcery.com