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

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

parent 307911b4
......@@ -276,12 +276,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 ...";
......
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