Miscellaneous interesting things
Tony Balinski
ajbj at free.fr
Wed Oct 31 15:46:12 CET 2007
Quoting Scott Tringali <scott.tringali at totalviewtech.com>:
> Tony Balinski wrote:
>
> > The thing is
> > that C89 allows a missing variable name for an argument for this sort of
> > occasion, so why not use it?
>
> It does? I thought that was C++.
>
> void f(int, int)
> {
> }
>
> missing.c: In function `f':
> missing.c:1: error: parameter name omitted
> missing.c:1: error: parameter name omitted
My mistake. You're right. Definitely a C++ism.
Andrew, I take it all back!
Cheers,
Tony
More information about the Develop
mailing list