https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112954

            Bug ID: 112954
           Summary: Spelling hint for typos in parameter types in function
                    prototypes
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fw at gcc dot gnu.org
  Target Milestone: ---

This is used to be accepted with a warning as a function declaration without a
prototype, treating “int32t” as an untyped parameter name rather than a type:

void function (int32t);

In GCC 14, this is now a declaration-missing-parameter-type permerror. However,
the wording of the diagnostic did not change. We could provide a spelling hint
or header inclusion hint for such errors.

Reply via email to