VS2013 build issue?

Hi All,

It seems that in this commit

the constexpr keyword was added to a number of functions in pluginterfaces/base/ipluginbase. That’s fine, but Visual Studio 2013 doesn’t support the keyword (2015 is fine.)

In fplatform.h there are certain defines, i.e SMTG_OVERRIDE and SMTG_NOEXCEPT that hinge upon these features being available. I added a similar one for constexpr and it allows me to build (I’m not sure about the intel compiler conditions there - I’m just trying to check for MSVC > 2013.)

#define SMTG_HAS_CONSTEXPR _MSC_VER >= 1900 || (SMTG_INTEL_CXX11_MODE && SMTG_INTEL_COMPILER >= 1300)

...

#if SMTG_HAS_CONSTEXPR
#define SMTG_CONSTEXPR constexpr
#else
#define SMTG_CONSTEXPR
#endif

Does this seem like something that should be added to the SDK? I’m not really sure - I don’t use 2013 often at all but a client recently needed a build and I noticed the SDK does not build out of the box (unless I did something wrong, possibly in CMake though I checked out the options in the GUI.)