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? */
|
||||
void checkConst();
|
||||
private:
|
||||
|
||||
public:
|
||||
/** @brief Information about a member variable. Used when checking for uninitialized variables */
|
||||
class Var
|
||||
{
|
||||
|
|
|
@ -942,7 +942,7 @@ void CppCheck::reportProgress(const std::string &filename, const char stage[], c
|
|||
time1 = time2;
|
||||
|
||||
// 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
|
||||
std::ostringstream ostr;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "settings.h"
|
||||
#include "errorlogger.h"
|
||||
#include "check.h"
|
||||
#include "classinfo.h"
|
||||
|
||||
#include <locale>
|
||||
#include <fstream>
|
||||
|
|
|
@ -21,11 +21,13 @@
|
|||
#ifndef tokenizeH
|
||||
#define tokenizeH
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#include "classinfo.h"
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
class ClassInfo;
|
||||
class Token;
|
||||
class ErrorLogger;
|
||||
class Settings;
|
||||
|
|
Loading…
Reference in New Issue