consistency in declaration

Saaaa04 SAAAA04 at BLEKUL11.BITNET
Wed Jun 14 00:24:56 AEST 1989


To my surprise the following happened with the waterloo C compiler (for VM/CMS)
it refuses:

void foo(int , int y);

but (of course) accepts:

void foo(int x, int y);
void foo(int , int);

Do I have to be consistent ? Or is this a bug in the compiler ?

                                                   Ton



More information about the Comp.lang.c mailing list