Would like to be able to get a warning when parameter names don't match
the prototype. eg. 

void foo(int x, int y);

then doing

void foo(int y, int x)
{
}

should generate a warning.

-- 
           Summary: warn on parameter name mismatch
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cyeoh at samba dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19994

Reply via email to