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

            Bug ID: 79022
           Summary: trunk/gcc/gengtype.h: create_nested_ptr_option: decl &
                    defn don't match ?
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

[trunk/gcc/gengtype.h:206] -> [trunk/gcc/gengtype.c:937]: (warning) Function
'create_nested_ptr_option' argument order different: declaration ', t, from,
to' definition 'next, t, to, from'

Line 206 is

options_p create_nested_ptr_option (options_p, type_p t,
                     const char *from, const char *to);


Line 937 is

options_p
create_nested_ptr_option (options_p next, type_p t,
              const char *to, const char *from)

Suggest the declaration should match the definition.

Reply via email to