[Bug c/35694] New: Error about bad function argument isn't issued on the line of the argument but on the line where function ends

yuri at tsoft dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 25 17:06:00 GMT 2008


int i(int j, int *k);

void f() {
  i(
    0,
    1 /*<--- here the error should be issued*/
  ); /*<--- here the error is issued*/
}


-- 
           Summary: Error about bad function argument isn't issued on the
                    line of the argument but on the line where function ends
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yuri at tsoft dot com


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



More information about the Gcc-bugs mailing list