From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c844f152672121b X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-14 18:33:32 PST Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!decwrl!pa.dec.com!crl.dec.com!utne.zk3.dec.com!sauron.zk3.dec.com!gaf From: gaf@zk3.dec.com (Gerald Feldman USG) Newsgroups: comp.unix.osf.osf1 Subject: Re: HELP ANSI C Date: 14 Jan 1994 22:40:52 GMT Organization: Digital Equipment Corporation, Unix Systems Group Distribution: world Message-ID: <2h771k$rql@utne.zk3.dec.com> References: <1994Jan14.151012.1827@tolten.puc.cl> Reply-To: gaf@zk3.dec.com NNTP-Posting-Host: sauron.zk3.dec.com X-Newsreader: mxrn 6.18-5 Originator: gaf@sauron.zk3.dec.com In article <1994Jan14.151012.1827@tolten.puc.cl>, fgc@malloco.ing.puc.cl (Fernando Gallardo C.) writes: Hi ! I work in a Alpha DecStation (Dec3000) running OSF/1, and I try to compile a C-program (with code in C standard and the interface in MOTIF 1.1) with an ANSI C compiler (CC and GCC), but the compiler checks the parameters. (This causes a fatal error). How can I compile whitout checking parameters ? Thanks. :-) -- Fernando Gallardo C. e-mail:fgc@ing.puc.cl -- The Digital OSF/1 compiler support switches to allow K&R (-std0 - this is the default), -std (ANSI C with extensions), and -std1 (Strict ANSI c). If you use the default (K&R) more switch, the function declarations will not be prototyped. Jerry Feldman -- +-------------------------------------------------------------+ Jerry Feldman USG Mailstop: ZKO3-3/Y25 DTN:381-2970 Digital Equipment Corp. EXT:(603)881-2970