Build with Visual Studio 2015 #430
Replies: 3 comments 3 replies
-
@shibatch Does this relates to the fix you just submitted (#587)? Or is this one specific to older MSVC? We are looking to add some checks for MSVC, so we might be able to reproduce this sort of issues soon. #588 |
Beta Was this translation helpful? Give feedback.
-
@rlopeznegrete Sorry for the hugely delayed response by the way. |
Beta Was this translation helpful? Give feedback.
-
According to the following page, hexadecimal notation for floating-point constants has been supported since Visual Studio 2017. https://stackoverflow.com/questions/18180116/vc-rejecting-hexadecimal-floating-point-constant |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Anyone know if it is possible to build the library using visual studio 2015? I am able to configure through cmake, but when building I'm getting some errors related to c starndards. For example
\src\libm\sleefsimddp.c(2051): error C2059: syntax error: 'bad suffix on number' [C:\Work\CasADI\sleef\build_msvc\src\libm\sleefsse4.vcxproj]
the offending line says
vopmask o = vlt_vo_vd_vd(d, vcast_vd_d(SLEEF_DBL_MIN));
and the macro SLEEF_DBL_MIN is defined as
#define SLEEF_DBL_MIN 0x1p-1022
The last one being what I think is a standard that Visual Studio 2015 cannot handle.
Any thoughts on how to correct this besides moving to a newer version of Visual Studio?
Thanks,
Rodrigo
Beta Was this translation helpful? Give feedback.
All reactions