[Bug c/19994] New: warn on parameter name mismatch

cyeoh at samba dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 16 11:10:00 GMT 2005


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



More information about the Gcc-bugs mailing list