From: vosse@ruls41.fsw.LeidenUniv.nl (Theo Vosse)
Subject: Re: Bug in C compiler?
Date: 1996/09/20 [thread overview]
Message-ID: <4ohj1lf4x.fsf@ruls41.fsw.LeidenUniv.nl> (raw)
In-Reply-To: 4buf2zhlw.fsf@ruls41.fsw.LeidenUniv.nl
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 <math.h> (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
next prev parent reply other threads:[~1996-09-20 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-19 4:00 Bug in C compiler? Theo Vosse
1996-09-19 4:00 ` Stephen Hoff Hoffman
1996-09-19 4:00 ` Ron Natalie
1996-09-19 4:00 ` Ron Natalie
1996-09-20 4:00 ` Theo Vosse [this message]
1996-09-20 4:00 ` Phil Ottewell
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox