Skip to content
Snippets Groups Projects
Commit 9217c58b authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Preprocessor: fixed bug with warnings (they were all disabled)

(cherry picked from commit e3be730a)
parent 5780a201
No related branches found
Tags
No related merge requests found
......@@ -263,12 +263,11 @@ ModFile::writeOutputFiles(const string &basename, bool clear_all
<< "%" << endl
<< "global_initialization;" << endl
<< "diary off;" << endl
<< "warning_old_state = warning;" << endl
<< "warning off;" << endl
<< "delete " << basename << ".log;" << endl
<< "warning warning_old_state" << endl
<< "logname_ = '" << basename << ".log';" << endl
<< "diary " << basename << ".log" << endl;
<< "if exist(logname_, 'file')" << endl
<< " delete(logname_)" << endl
<< "end" << endl
<< "diary(logname_)" << endl;
cout << "Processing outputs ...";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment