http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56725
Bug #: 56725
Summary: extra spaces in error message
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Consider this source:
int f (int *);
int callf (int, int, int (*)(double *));
int docall(void)
{
return callf (23, 72,
f);
}
If I compile this with g++ I get:
t.c: In function ‘int docall()’:
t.c:8:4: error: invalid conversion from ‘int (*)(int*)’ to ‘int (*)(double*)’
[-fpermissive]
f);
^
t.c:3:5: error: initializing argument 3 of ‘int callf(int, int, int
(*)(double*))’ [-fpermissive]
int callf (int, int, int (*)(double *));
^
You have mail in /var/spool/mail/tromey
Note the extra spaces before "initializing".
This looked weird to me.