[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
Sat Dec 21 14:24:15 CST 2019


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

--- Comment #20 from Erich E. Hoover <erich.e.hoover at gmail.com> ---
(In reply to Roman Pišl from comment #19)
> I've found that there is still a minor difference between Windows and Wine.
> This compiles on Windows:
> 
> #include <stdio.h>
> void main()
> {
>     printf("%f\n", 3.4028234663852886E38f);
> }
> ...

Since that's a float instead of a double, this is almost certainly a different
issue.  Would you mind opening a separate bug for it?  It would be very useful
to know what routine is being called by the compiler here (strtof?), if you get
the chance to figure that out.

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