home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!ieunet!!bsullivn
- From: bsullivn@sc.sni.ie (Bryan O'Sullivan)
- Newsgroups: comp.lang.c
- Subject: Re: Is "...", instead of ",..." legal ?
- Message-ID: <157@sc.sni.ie>
- Date: 14 Aug 92 11:49:54 GMT
- Article-I.D.: sc.157
- References: <1992Aug13.002717.18476@megadata.mega.oz.au>
- Reply-To: bryan@sc.sni.ie
- Organization: Siemens-Nixdorf Software Development Centre, Dublin
- Lines: 18
- X-Newsreader: Tin 1.1 PL3
-
-
-
- scott@megadata.mega.oz.au (Scott Humphreys) writes:
-
- : My question is: is this legal : int foo (...);
- :
- : That is - can I legally declare a function
- : with none or many arguments, or does it HAVE to have
- : at least one argument.
-
- What you suggest is illegal. Gcc might let you get away with it, but
- don't think about porting your code. You need at least one argument.
-
- -- Bryan
-
- --
- Bryan O'Sullivan +353-1-767551 x225
- Siemens-Nixdorf Informationssysteme AG bryan@sc.sni.ie
- Software Development Centre "Theory like mist on eyeglasses.
- Dublin Obscure facts." -- Charlie Chan
-