Repository navigation
Build with Visual Studio 2015 #430
Unanswered
rlopeznegrete
asked this question in
Q&A
Replies: 3 comments 3 replies
|
@rlopeznegrete Sorry for the hugely delayed response by the way. |
1 reply
|
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 |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions