[OS-tickets] [Optimization Services] #63: OS fails to build with MSVC 14
Optimization Services
coin-trac at coin-or.org
Sun Jan 7 15:24:23 EST 2018
#63: OS fails to build with MSVC 14
------------------------------+-----------------
Reporter: tkr | Owner:
Type: defect | Status: new
Priority: blocker | Milestone:
Component: solver interface | Version:
Keywords: |
------------------------------+-----------------
You are doing some implicit type conversions that aren't allowed in Visual
Studio.
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(3944): error C2440:
'type cast': cannot convert from 'double' to 'ENUM_MATRIX_TYPE'
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(3944): note:
Conversions between enumeration and floating point values are no longer
allowed
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(3946): error C2440:
'type cast': cannot convert from 'double' to 'ENUM_MATRIX_SYMMETRY'
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(3946): note:
Conversions between enumeration and floating point values are no longer
allowed
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4044): error C2440:
'type cast': cannot convert from 'double' to 'ENUM_MATRIX_TYPE'
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4044): note:
Conversions between enumeration and floating point values are no longer
allowed
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4046): error C2440:
'type cast': cannot convert from 'double' to 'ENUM_MATRIX_SYMMETRY'
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4046): note:
Conversions between enumeration and floating point values are no longer
allowed
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4144): error C2440:
'type cast': cannot convert from 'double' to 'ENUM_MATRIX_TYPE'
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4144): note:
Conversions between enumeration and floating point values are no longer
allowed
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4146): error C2440:
'type cast': cannot convert from 'double' to 'ENUM_MATRIX_SYMMETRY'
../../../../OS/src/OSCommonInterfaces/OSMatrix.cpp(4146): note:
Conversions between enumeration and floating point values are no longer
allowed
--
Ticket URL: <https://projects.coin-or.org/OS/ticket/63>
Optimization Services <http://projects.coin-or.org/OS>
An interface for Web services implementing optimization.
More information about the OS-tickets
mailing list