[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 13:11:22 CST 2019


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

--- Comment #19 from Roman Pišl <rpisl at seznam.cz> ---
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);
}

and shows:
340282346638528859811704183484516925440.000000

3.4028234663852887E38f is also OK and shows the same,
3.4028234663852888E38f fails: error C2177: constant too big

On Wine 5.0-r2 3.4028234663852886E38f fails, 3.4028234663852885E38f is OK.

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