Commit b8b3491a authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: removed spurious warnings

parent 1dd9ca8e
......@@ -300,10 +300,14 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all
// Erase possible remnants of previous runs
if (block || byte_code)
mOutputFile << "delete('" << basename << "_dynamic.m');" << endl;
mOutputFile << "if exist('" << basename << "_dynamic.m', 'file')" << endl
<< " delete('" << basename << "_dynamic.m');" << endl
<< "end" << endl;
if (byte_code)
mOutputFile << "delete('" << basename << "_static.m');" << endl;
mOutputFile << "if exist('" << basename << "_static.m', 'file')" << endl
<< " delete('" << basename << "_static.m');" << endl
<< "end" << endl;
if (!use_dll)
mOutputFile << "erase_compiled_function('" + basename + "_dynamic');" << endl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment