no warning with old-fashioned function headers
Edmund GRIMLEY EVANS
edmundo@rano.demon.co.uk
Wed Jun 16 02:32:00 GMT 1999
Is there a good reason for this x() not giving a warning, even with
-Wall? There is a warning with y().
I expect there's a note somewhere in the code that explains both this
and why the gcc code itself uses the old sort of function headers, but
I haven't found it ...
int x(a, b)
int a;
int b;
{
return x(a);
}
int y(int a, int b)
{
return y(a);
}
More information about the Gcc
mailing list