diff --git a/src/ModFile.cc b/src/ModFile.cc index 37222db1..6fd3d547 100644 --- a/src/ModFile.cc +++ b/src/ModFile.cc @@ -955,30 +955,6 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all, bool clear_glo << " error('DYNARE: Can''t find bytecode DLL. Please compile it or remove the ''bytecode'' option.')" << endl << "end" << endl; -#if defined(_WIN32) || defined(__CYGWIN32__) -# if (defined(_MSC_VER) && _MSC_VER < 1700) - // If using USE_DLL with MSVC 10.0 or earlier, check that the user didn't use a function not supported by the compiler (because MSVC <= 10.0 doesn't comply with C99 standard) - if (use_dll && msvc) - { - if (dynamic_model.isUnaryOpUsed(UnaryOpcode::acosh)) - { - cerr << "ERROR: acosh() 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); - } - if (dynamic_model.isUnaryOpUsed(UnaryOpcode::asinh)) - { - cerr << "ERROR: asinh() 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); - } - if (dynamic_model.isUnaryOpUsed(UnaryOpcode::atanh)) - { - 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); - } - } -# endif -#endif - // Compile the dynamic MEX file for use_dll option // When check_model_changes is true, don't force compile if MEX is fresher than source if (use_dll)