func(a) char a[]; {...}

Mark Brader msb at dciem.UUCP
Thu Oct 16 02:25:07 AEST 1986


Distribution:

Ray Butterworth (rbutterworth at watmath.UUCP) writes:
> If you really want to be daring, get rid of the "if (dimtab...!=0)"
> in the second change.  Then it will complain about things like
>    func(a)
>        char a[];
>    {
> which really should be "char *a".

Personally, I agree with this, but opinions are beside the point.
If this change is made, then  <all together now>  it isn't a C compiler
any more.

Please, let's NOT have dozens of comments on whether the func (a) char a[];
syntax is a good idea and what it should mean.  This isn't talk.religion.c.

Mark Brader, utzoo!dciem!msb
#define	MSB(type)	(~(((unsigned type)-1)>>1))



More information about the Comp.lang.c mailing list