Hi, Jason Mancini via Gcc-help <gcc-help@xxxxxxxxxxx> writes: > In gcc-13, an implicit function declaration was a warning. In gcc-14, it's an error. > Both are the same __STDC_VERSION__ and no behavior change is mentioned in release_notes. > > Was this intentional? Yes. The behavior change is noted in the release page[1] ("C: Certain warnings about are now errors, see Porting to GCC 14 for details."), and an elaborated report of the changes is at https://gcc.gnu.org/gcc-14/porting_to.html#warnings-as-errors Note that the constructs in question haven't been valid in a while and were accepted as an extension. Hope that helps, happy hacking. [1] https://gcc.gnu.org/gcc-14/changes.html -- Arsen Arsenović
Attachment:
signature.asc
Description: PGP signature