Borland C++: Fixed compiler errors

This commit is contained in:
Daniel Marjamäki 2010-08-06 17:44:26 +02:00
parent f5823f7747
commit 6346e1aa90
4 changed files with 5 additions and 4 deletions

View File

@ -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
{

View File

@ -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;

View File

@ -29,7 +29,6 @@
#include "settings.h"
#include "errorlogger.h"
#include "check.h"
#include "classinfo.h"
#include <locale>
#include <fstream>

View File

@ -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;