[Bug 48160] New: cl.exe (visual studio 2017) fails to compile c++ due to error C2177: constant too big
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Nov 23 15:12:43 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=48160
Bug ID: 48160
Summary: cl.exe (visual studio 2017) fails to compile c++ due
to error C2177: constant too big
Product: Wine
Version: 4.20
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: luca.cunegondi at ocme.com
Distribution: ---
when compiling c++ filles with options /TP /EHsc /std:c++17 cl.exe fails with
the error described above,
even for a single line program like:
#include <iostream>
int main()
{ return 1;}
The error message is:
... include\limits(1153): error C2177: constant too big
... include\limits(1216): error C2177: constant too big
and is relative to DBL_MAX and LDBL_MAX constants
Values of such constants are correct if compiling with preprocessing option
only
There's no problem compiling C programs or using previous versions of Wine
thanks in advance
luca cunegondi
--
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