[Bug 48324] cl.exe fails to compile c++ due to error C2177: constant too big on float constant

WineHQ Bugzilla wine-bugs at winehq.org
Mon Dec 23 06:32:37 CST 2019


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

--- Comment #7 from Roman Pišl <rpisl at seznam.cz> ---
Created attachment 66074
  --> https://bugs.winehq.org/attachment.cgi?id=66074
msvcrt/string - added tests

I can confirm that the patch works and tests succeed in both wine32 and wine64.

However.. ;-) .. there is an analogical problem with FLT_MIN. See attached
tests that succeed on Windows and also on Linux/gcc but fail on Wine (the two
that compare FLT_MIN).

Again, 1.1754943508222875e-38 is a common representation of minimal float and
that should probably also directly compare to FLT_MIN in the double
representation. But maybe I'm digging too deeply..

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