[Top][All Lists]
[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: |
Ben Pfaff |
Subject: |
Re: [PATCH] bypass broken inline strtod() definition in <stdlib.h> on Mingw |
Date: |
Mon, 14 Jun 2010 11:01:17 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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()?
--
Ben Pfaff
http://benpfaff.org