[Patch, quadmath] PR 46772 - include stdlib.h instead of declaring stdtod

Tobias Burnus burnus@net-b.de
Wed Dec 8 15:25:00 GMT 2010


(We really lack libquadmath maintainers. Thus, at the moment, one has 
the choice between declaring it as obvious and asking a global 
maintainer for review...)

In the gdtoa/*.h files of libquadmath stdtod and stdtof are declared. 
This patch removes the declaration in favour of using stdlib.h.

The main reason for the change is MinGW which declares "strtod" as 
static (?!?) - which in turn gcc does not like ...

Build on x86-64-linux.
OK for the trunk?

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quad-strtod.diff
Type: text/x-patch
Size: 1605 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101208/6f927ea7/attachment.bin>


More information about the Gcc-patches mailing list