[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 18:16:45 CST 2019


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

--- Comment #10 from Erich E. Hoover <erich.e.hoover at gmail.com> ---
Would you check and see if commit 27b9a420ea87fd85c0c933b7db77a9efb22f94cf
fixes this bug (FLT_MAX issue) for you?

(In reply to Roman Pišl from comment #9)
> I understand and it sounds reasonable, but.. according to the standard: if a
> double-precision number is converted to a decimal string with at least 17
> significant digits, and then converted back to double-precision
> representation, the final result must match the original number. This is
> violated in current implementation.

Really, if the GCC code were LGPL 2.1 then I'd just go grab that since it's
well tested, but unfortunately GCC is GPL 3.  Would you mind opening a separate
bug for this and adding me to the CC list?  We can probably get some
"todo_wine" tests added now, but fixing it for real will probably need to wait
until after code freeze is over (unless the solution is really compelling).

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