preprocessor: fix bug introduced in 4255be00b8
. Normcdf is not supported by MSVC
parent
4255be00b8
commit
d7d2e4fde3
|
@ -737,13 +737,14 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo
|
||||||
cerr << "ERROR: atanh() function is not supported with USE_DLL option and older MSVC compilers; use Cygwin, MinGW or upgrade your MSVC compiler to 11.0 (2012) or later." << endl;
|
cerr << "ERROR: atanh() function is not supported with USE_DLL option and older MSVC compilers; use Cygwin, MinGW or upgrade your MSVC compiler to 11.0 (2012) or later." << endl;
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
if (dynamic_model.isTrinaryOpUsed(oNormcdf))
|
|
||||||
{
|
|
||||||
cerr << "ERROR: normcdf() function is not supported with USE_DLL option and older MSVC compilers; use Cygwin, MinGW or upgrade your MSVC compiler to 11.0 (2012) or later." << endl;
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (use_dll && msvc)
|
||||||
|
if (dynamic_model.isTrinaryOpUsed(oNormcdf))
|
||||||
|
{
|
||||||
|
cerr << "ERROR: normcdf() function is not supported with USE_DLL option and older MSVC compilers; use Cygwin, MinGW or upgrade your MSVC compiler to 11.0 (2012) or later." << endl;
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Compile the dynamic MEX file for use_dll option
|
// Compile the dynamic MEX file for use_dll option
|
||||||
|
|
Loading…
Reference in New Issue