Message-ID: <04d401c33b5c$2b0df1b0$0600000a@broadpark.no> From: "Gisle Vanem" To: "Eli Zaretskii" Cc: 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 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit 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" said: > > While trying to built Perl with latest 2.04, I found that including > > after 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