🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c
Article #9560

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

#9560
From: Mark Brader
Date: Wed, 15 Oct 1986 16:25
19 lines
1264 bytes
Distribution:

Ray Butterworth (rbutterworth@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))
Technical Details
Message-ID: <1979@dciem.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!dciem!msb
References: <252@whuxcc.UUCP> <1370@watmath.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site dciem.UUCP
Path: arc1-ca.pugleaf.net!utzoo!dciem!msb
From: msb@dciem.UUCP (Mark Brader)
Newsgroups: net.lang.c
Subject: func(a) char a[]; {...}
Message-ID: <1979@dciem.UUCP>
Date: Wed, 15-Oct-86 12:25:07 EDT
Article-I.D.: dciem.1979
Posted: Wed Oct 15 12:25:07 1986
Date-Received: Wed, 15-Oct-86 12:52:38 EDT
References: <252@whuxcc.UUCP> <1370@watmath.UUCP>
Reply-To: msb@dciem.UUCP (Mark Brader)
Organization: NTT Systems Inc., c/o DCIEM, Toronto
Lines: 17
Summary: Regrettably, that's C