[llvm-bugs] [Bug 51542] Clang on Windows: under FE_UPWARD printf(“%.1f\n”, 0.0) prints 0.1 instead of 0.0

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 24 14:01:17 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51542

Eli Friedman <efriedma at quicinc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #4 from Eli Friedman <efriedma at quicinc.com> ---
(In reply to Pavel Morozkin from comment #3)
> @Eli Friedman
> 1. Ok, if the issue is in the Microsoft's C runtime, then close the issue
> with "not a problem".

Okay, closing.

> 2. Is it possible for "clang on Windows" to switch from Microsoft's C
> runtime to other runtime? If so, how?
> 3. Extra: why "clang on Windows" uses Microsoft's C runtime and not other
> runtime?

clang basically has three Windows targets: x86_64-windows-msvc (Microsoft SDK),
x86_64-windows-gnu (MinGW SDK, which uses the Microsoft C library), and
x86_64-windows-cygnus (Cygwin). You can switch between this with the --target
flag.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210824/075feb84/attachment-0001.html>


More information about the llvm-bugs mailing list