removed dependencies on the old parser. The code can now be compiled outside of Borland C++

This commit is contained in:
tmj-fstate
2017-01-15 15:04:17 +01:00
parent 7df7c8b76e
commit 15cf3d73a8
87 changed files with 3395 additions and 3232 deletions

View File

@@ -7,8 +7,7 @@ obtain one at
http://mozilla.org/MPL/2.0/.
*/
#define _USE_OLD_RW_STL
#include "stdafx.h"
#include "parser.h"
#include "logs.h"
@@ -205,5 +204,5 @@ std::string cParser::readComment(const std::string Break)
int cParser::getProgress() const
{
return mStream->rdbuf()->pubseekoff(0, std::ios_base::cur) * 100 / mSize;
return static_cast<int>( mStream->rdbuf()->pubseekoff(0, std::ios_base::cur) * 100 / mSize );
}