From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4f7a405235f760ec X-Google-Attributes: gid1164f8,public From: vosse@ruls41.fsw.LeidenUniv.nl (Theo Vosse) Subject: Re: Bug in C compiler? Date: 1996/09/20 Message-ID: <4ohj1lf4x.fsf@ruls41.fsw.LeidenUniv.nl>#1/1 X-Deja-AN: 184122984 references: <4buf2zhlw.fsf@ruls41.fsw.LeidenUniv.nl> organization: Leiden University, The Netherlands newsgroups: comp.sys.dec After a letter from dsr@lns598.lns.cornell.edu (Daniel S. Riley), I decided to use -std1 to compile the program, and indeed, it suddenly worked. Inspection of (which I *had* included) reveiled that functions are declared without their prototype, unless the preprocessor macro _NO_PROTO is *undefined*. What reason anybody can have to not included prototypes is beyond me, but now we are apparently forced to use -std all the time. However, since the compiler in default mode does recognize prototypes, there seems to be no reason not to include them. Perhaps the next releases can leave _NO_PROTO undefined??? Theo Vosse ---------- Unit for Experimental Psychology University of Leiden The Netherlands -- Theo Vosse ---------- Unit for Experimental Psychology University of Leiden The Netherlands