consistency in declaration

Karl Heuer karl at haddock.ima.isc.com
Fri Jun 16 12:56:03 AEST 1989


In article <64 at BLEKUL11.BITNET> SAAAA04 at BLEKUL11.BITNET writes:
>[compiler refuses to accept a prototype with half-named args:]
>	void foo(int , int y);
>Do I have to be consistent ? Or is this a bug in the compiler ?

The pANS grammar allows this notation, and I can't find any constraint against
it.  I'd say it's a compiler bug.

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.lang.c mailing list