[Bug 48160] cl.exe (visual studio 2017) fails to compile c++ due to error C2177: constant too big
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Dec 19 00:52:44 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=48160
Martin Storsjö <martin at martin.st> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin at martin.st
--- Comment #11 from Martin Storsjö <martin at martin.st> ---
(In reply to Alexandre Julliard from comment #5)
> We'll need to rewrite that function to not use long double, because the goal
> is to support building it with Mingw.
FWIW, in Mingw (both gcc and clang) on x86, long doubles actually are the x87
80 bit extended precision floats, contrary to MSVC. So anything in Mingw that
uses long doubles is ABI incompatible with MSVC.
In Mingw on arm and aarch64 (which only are supported by clang), long doubles
are the same as regular doubles though.
In any case, not relying on long double here would be great, as I've run into
range issues with the current implementation on 32 bit arm, where long doubles
in linux also are the same as regular ones.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list