Date: Mon, 20 Mar 2000 11:45:59 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Laszlo Molnar cc: djgpp-workers AT delorie DOT com Subject: Re: deadly combination of input files In-Reply-To: <20000320094233.H963@libra.eth.ericsson.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 20 Mar 2000, Laszlo Molnar wrote: > On Sun, Mar 19, 2000 at 05:15:33PM +0100, Martin Str|mberg wrote: > > > > while trying to build perl 5.6 release candidate 2, I was hit by the > > > > following problem: > > > > > > > > ---8<--- > > > > #include > > > > #include > > > > > > > > /* try to compile this */ > > > Can you tell what is wrong in this combination? > > This?: > > gcc -Wall c.c -c > > In file included from c.c:2: > > f:/djgpp/include/math.h:148: parse error before `long' > > f:/djgpp/include/math.h:149: parse error before `long' > > f:/djgpp/include/math.h:150: parse error before `long' > > Yes, this is what I mean. Sorry for omitting the error message. Does the following fix the problem? --- include/math.h~0 Wed Aug 4 15:55:00 1999 +++ include/math.h Mon Mar 20 10:29:42 2000 @@ -145,9 +145,9 @@ extern float erfcf(float); extern float gammaf(float); extern float hypotf(float, float); -extern int isinff(float); -extern int isnanf(float); -extern int finitef(float); +extern int (isinff) (float); +extern int (isnanf) (float); +extern int (finitef) (float); extern float j0f(float); extern float j1f(float); extern float jnf(int, float);