delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/03/20/06:03:26

Date: Mon, 20 Mar 2000 11:45:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Laszlo Molnar <laszlo DOT molnar AT eth DOT ericsson DOT se>
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: <Pine.SUN.3.91.1000320114520.24837B@is>
MIME-Version: 1.0
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

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 <ieeefp.h>
> > > > #include <math.h>
> > > >
> > > > /* 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);

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019