-
-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strtold() conflicting with MSVCRT #728
Comments
redstar
pushed a commit
that referenced
this issue
Sep 27, 2014
Fix issue 11519 - race in core.thread unit test
This is fixed in upstream: dlang/druntime@98215d6 Relevant piece:
|
redstar
added a commit
that referenced
this issue
Oct 12, 2014
- Create template for strtold() on Win64 (issue #728) - Fix an assembler warning on Linux/PPC64le
Fixed in master. I only included the relevant code from the mentioned commit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Microsoft's C runtime includes a strtold() implementation (returning a 64-bit double) since VS 2013. druntime defines its own strtold() (returning a real) in core.stdc.stdlib, leading obviously to linking conflicts.
In the long run, we should define real as 64-bit double on Windows x64 due to the lack of x87 support in MSVCRT.
Until then, the following patch redirects strtold to the renamed druntime wrapper with the correct signature:
The text was updated successfully, but these errors were encountered: