delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/06/25/15:47:41

Date: Wed, 25 Jun 2003 22:46:21 +0300
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: giva AT bgnett DOT no
Message-Id: <1659-Wed25Jun2003224621+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <032101c33b2f$b70c1570$0600000a@broadpark.no> (giva@bgnett.no)
Subject: Re: ieeefp.h / math.h clash
References: <032101c33b2f$b70c1570$0600000a AT broadpark DOT no>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Gisle Vanem" <giva AT bgnett DOT no>
> Date: Wed, 25 Jun 2003 17:37:41 +0200
> 
> While trying to built Perl with latest 2.04, I found that including <math.h> 
> after <ieeefp.h> causes a parse error due to isinff(), isnanf() being both
> a macro and a func-prototype.

I think we could defeat that by enclosing the function names in
math.h parens, like this:

  extern int (isinf)(double);

Can you see if this works?

- Raw text -


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