bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mi


From: Eric Blake
Subject: Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw
Date: Mon, 14 Jun 2010 12:08:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

On 06/14/2010 12:01 PM, Ben Pfaff wrote:
> Eric Blake <address@hidden> writes:
> 
>> Or even better, why not push those two tests upstream into autoconf,
>> then have gnulib override AC_FUNC_STRTOD if it detects older autoconf,
>> so that everyone using upstream AC_FUNC_STRTOD can reliably detect these
>> same bugs?
> 
> The strtod() tests that are currently in gl_FUNC_STRTOD, but not
> in AC_FUNC_STRTOD, are tests for C99 features that are not in
> C90.  The Autoconf manual's description of AC_FUNC_STRTOD says
> only that it tests that strtod() works "correctly", but it does
> not say what standard it is testing against.  Is it appropriate
> for AC_FUNC_STRTOD to start requiring a C99-compliant strtod()?

Given that autoconf's AC_FUNC_STRTOLD checks for a C99-compliant
strtold, I'd say yes.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]