C89isms in the test suite

Joseph Myers joseph@codesourcery.com
Fri Oct 21 20:57:15 GMT 2022


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
joseph@codesourcery.com


More information about the Gcc mailing list