lists.zerezo.com



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

***BOGO*** Re: [Mingw-users] strtod is not C99-compatible



Hello,

Brian Dessent wrote:
> Ramiro Polla wrote:
> 
>> Is it possible that a function to replace strtod() with a C99-compliant
>> implementation be made the same way it was done with snprintf? And then
>> one would have to call _strtod to get the original MSVCRT version.
> 
> This is really the kind of thing that gnulib excels at.  You just add
> the strtod module to your project and you get a working replacement
> strtod() that is guaranteed standards-compliant, on any of many dozens
> of platforms, with fallback to the native target's underlying strtod()
> if it is non-broken.

FFmpeg doesn't use autotools, and gnulib seems to have some license 
implications (GPL might have to be used. I haven't checked though).

I think the same reasoning used to implment _mingw_snprintf() should be 
used for a _mingw_strtod(). And I volunteer to implement it.

Ramiro Polla

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users