This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "yuri at tsoft dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Mar 2008 17:05:45 -0000
- Subject: [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
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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