Borland C++: Fixed compiler errors
This commit is contained in:
parent
f5823f7747
commit
6346e1aa90
|
@ -104,8 +104,8 @@ public:
|
||||||
|
|
||||||
/** @brief can member function be const? */
|
/** @brief can member function be const? */
|
||||||
void checkConst();
|
void checkConst();
|
||||||
private:
|
|
||||||
|
|
||||||
|
public:
|
||||||
/** @brief Information about a member variable. Used when checking for uninitialized variables */
|
/** @brief Information about a member variable. Used when checking for uninitialized variables */
|
||||||
class Var
|
class Var
|
||||||
{
|
{
|
||||||
|
|
|
@ -942,7 +942,7 @@ void CppCheck::reportProgress(const std::string &filename, const char stage[], c
|
||||||
time1 = time2;
|
time1 = time2;
|
||||||
|
|
||||||
// current time in the format "Www Mmm dd hh:mm:ss yyyy"
|
// current time in the format "Www Mmm dd hh:mm:ss yyyy"
|
||||||
const std::string str(ctime(&time2));
|
const std::string str(std::ctime(&time2));
|
||||||
|
|
||||||
// format a progress message
|
// format a progress message
|
||||||
std::ostringstream ostr;
|
std::ostringstream ostr;
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "errorlogger.h"
|
#include "errorlogger.h"
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
#include "classinfo.h"
|
|
||||||
|
|
||||||
#include <locale>
|
#include <locale>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
|
@ -21,11 +21,13 @@
|
||||||
#ifndef tokenizeH
|
#ifndef tokenizeH
|
||||||
#define tokenizeH
|
#define tokenizeH
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#include "classinfo.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class ClassInfo;
|
|
||||||
class Token;
|
class Token;
|
||||||
class ErrorLogger;
|
class ErrorLogger;
|
||||||
class Settings;
|
class Settings;
|
||||||
|
|
Loading…
Reference in New Issue