httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <>
Subject Re: cvs commit: apache-1.3/src/ap ap_snprintf.c
Date Thu, 10 May 2001 15:23:03 GMT
On Thu, 10 May 2001 10:53:20 -0400 (EDT), Jim Jagielski wrote:

>Brian Havard wrote:
>> This doesn't work too well for me. On my platform, isnan() is a macro
>> defined in math.h so this fails to detect it. Adding TCADDINCL='#include
>> <math.h>' doesn't help either as TestCompile fails with 
>> helpers/testfunc.c:3: macro `isnan' used without args
>> Any ideas? If it's just me on OS/2 then I can override in os.h but I'm
>> guessing other platforms may do the same.
>yeah, I was afraid of that. Where is the macro defined? 

I belive I did say math.h above :)

>We could
>first check for implementations that use macros and then true
>functions. Despite the nasty error (which I'm unsure why we're
>seeing... such messages should be going to /dev/null) does
>the build process completely die?

It still builds fine, it just doesn't define HAVE_ISNAN even though we do
have it. Just how important an impact that has, I have no idea. AFAIK
nothing in Apache uses ap_snprintf to print a float.

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  |  He's a very naughty boy!" - Life of Brian |

View raw message