[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
Fri Dec 20 04:28:44 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=48160

--- Comment #16 from Martin Storsjö <martin at martin.st> ---
(In reply to Erich E. Hoover from comment #14)
> (In reply to Martin Storsjö from comment #11)
> > ...
> > 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.
> 
> Would you mind testing my patch where you have encountered a problem?  The
> latest version is here (fixes a problem with the tests failing on the 32-bit
> Debian VM):
> https://source.winehq.org/patches/data/176017

I tested the one pushed to master yesterday, and it seems like it fixes the
issue for me. Thanks!

For reference, the issue was strtod("9.8813e-324"), which is a denormal for 64
bit doubles - the previous strtod implementation that relied on long doubles
being larger than 64 bit would return this as a plain zero.

-- 
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