Mail Archives: djgpp-workers/2000/03/20/06:03:26
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 -