delorie.com/archives/browse.cgi | search |
Message-ID: | <04d401c33b5c$2b0df1b0$0600000a@broadpark.no> |
From: | "Gisle Vanem" <giva AT bgnett DOT no> |
To: | "Eli Zaretskii" <eliz AT elta DOT co DOT il> |
Cc: | <djgpp-workers AT delorie DOT com> |
References: | <032101c33b2f$b70c1570$0600000a AT broadpark DOT no> <1659-Wed25Jun2003224621+0300-eliz AT elta DOT co DOT il> |
Subject: | Re: ieeefp.h / math.h clash |
Date: | Wed, 25 Jun 2003 22:55:53 +0200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2800.1158 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Reply-To: | djgpp-workers AT delorie DOT com |
"Eli Zaretskii" <eliz AT elta DOT co DOT il> said: > > 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? Thanks, that works. BTW, it was isinff(), not isinf(): extern int (isinff)(float); extern int (isnanf)(float); extern int (finitef)(float); Gisle V. # rm /bin/laden /bin/laden: Not found
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |