#1205 Workaround for MinGW non-standard strtod

v0.9-branch
closed-accepted
nobody
Other (492)
5
2011-10-27
2011-10-26
No

MinGW has reverted to using the Microsoft msvcrt0 implementation of the strtod() function. This implementation doesn't accept "INF" or "NaN". MinGW does provide a C99 compliant implementation of this function called __strtod(). We need to force the linker to replace all references to strtod() with references to __strtod().

This patch should be applied to both devel and V0.9. No test suite changes (the test suite caught the MinGW regression).

Discussion

  • Stephen Williams

    • milestone: 530241 --> v0.9-branch
    • status: open --> open-accepted
     
  • Stephen Williams

    Applied to git master.

     
  • Stephen Williams

    Applied to git v0_9-branch.

     
  • Stephen Williams

    • status: open-accepted --> closed-accepted
     

Log in to post a comment.