Compiling errors in VS2015 express
peitaoshi last edited by ANVEL Team
When updating some projects from ANVEL 2.5 to ANVEL 3.0, compiling errors always occur in AnvelMath.h . such as:
constexpr float64 sNaN = std:;numeric_limit<double>::singaling_NaN();
error: expression did not evaluate to a constant...
Although, this error can be worked around with
#define sNan std::numberic_limic<double>::signaling_Nan()
However, many places in ANVEL system header file have the same errors.
Question: is there any way to work around it without changing system head files?...
ANVEL Team last edited by
Do you have Update 3 for Visual Studio 2015?
Are you compiling with the C++ 14 standard? ANVEL requires it.
peitaoshi last edited by
Thank you for your information.
This issue got resolved after installing VS2015 update 3.