confilict ! bcc55 and stlport4.5.3


2005-05-24 07:46:53 AM
cppbuilder55
bcc32.cfg:
-I"e:\program\sgi_stl\stlport;e:\program\sgi_stl\stlport\bc50;e:\program\Borland\Bcc55\include"
-L"e:\program\sgi_stl\bin;e:\program\Borland\Bcc55\lib;e:\program\borland\bcc55\lib\psdk"
ilink32.cfg:
-L"e:\program\sgi_stl\bin;e:\program\Borland\Bcc55\lib;e:\program\borland\bcc55\lib\psdk"
#-------------------------------------------------------------------------------------------
file.cpp:
#include <string>
///////////////
#include <io.h>
//////////////////////////
#include "e:\program\wukexin\file\file.h"
#include "e:\program\wukexin\timer\timer.h"
#include "e:\program\wukexin\tracer\tracer.h"
//
using namespace std;
Cfile::Cfile(const std::string& name){
};
//
Cfile::Cfile(const char* name){
#ifdef DEBUG
Ctimer timer("Cfile( const char* name) ");
#endif //debug
};
//
Cfile::~Cfile(){
};
//
bool Cfile::initialize(const char* name){
bool result(false);
return result;
};
//
bool Cfile::is_path(){
bool result(false);
return result;
};
//
long Cfile::size(){
long result(0);
return result;
};
//
string Cfile::name(){
string result;
return result;
};
//
string Cfile::attrib(){
string result;
return result;
};
//
string Cfile::create_time(){
string result;
return result;
};
//
string Cfile::access_time(){
string result;
return result;
};
//
string Cfile::write_time(){
string result;
return result;
};
//
string Cfile::date(){
string result;
return result;
};
//
void Cfile::display(){
};
//
void Cfile::print(){
};
#-------------------------------------------------------
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
file.cpp:
Error E2293 e:\program\Borland\Bcc55\include\../include/time.h 74: )
expected
Error E2147 e:\program\Borland\Bcc55\include\../include/time.h 75: 'time_t'
cannot start a parameter declaration
Error E2303 e:\program\Borland\Bcc55\include\../include/time.h 75: Type name
expected
Error E2293 e:\program\Borland\Bcc55\include\../include/time.h 76: )
expected
Error E2293 e:\program\Borland\Bcc55\include\../include/time.h 77: )
expected
Error E2141 e:\program\Borland\Bcc55\include\../include/time.h 78:
Declaration syntax error
Error E2238 e:\program\Borland\Bcc55\include\../include/time.h 79: Multiple
declaration for 'time_t'
Error E2344 e:\program\Borland\Bcc55\include\../include/time.h 78: Earlier
declaration of 'time_t'
Error E2141 e:\program\Borland\Bcc55\include\../include/time.h 79:
Declaration syntax error
Error E2293 e:\program\Borland\Bcc55\include\../include/time.h 86: )
expected
Error E2451 e:\program\Borland\Bcc55\include\../include/time.h 98: Undefined
symbol '__tp'
Error E2238 e:\program\sgi_stl\stlport\ctime 34: Multiple declaration for
'time_t'
Error E2344 e:\program\Borland\Bcc55\include\io.h 59: Earlier declaration of
'time_t'
Error E2316 e:\program\sgi_stl\stlport\ctime 39: 'ctime' is not a member of
'std'
Error E2272 e:\program\sgi_stl\stlport\ctime 39: Identifier expected
Error E2316 e:\program\sgi_stl\stlport\ctime 40: 'gmtime' is not a member of
'std'
Error E2272 e:\program\sgi_stl\stlport\ctime 40: Identifier expected
Error E2316 e:\program\sgi_stl\stlport\ctime 41: 'difftime' is not a member
of 'std'
Error E2272 e:\program\sgi_stl\stlport\ctime 41: Identifier expected
Error E2316 e:\program\sgi_stl\stlport\ctime 42: 'mktime' is not a member of
'std'
Error E2272 e:\program\sgi_stl\stlport\ctime 42: Identifier expected
Error E2316 e:\program\sgi_stl\stlport\ctime 43: 'localtime' is not a member
of 'std'
Error E2272 e:\program\sgi_stl\stlport\ctime 43: Identifier expected
Warning W8057 file.cpp 11: Parameter 'name' is never used in function
Cfile::Cfile(const string &)
Warning W8057 file.cpp 17: Parameter 'name' is never used in function
Cfile::Cfile(const char *)
Warning W8057 file.cpp 25: Parameter 'name' is never used in function
Cfile::initialize(const char *)
*** 23 errors in Compile ***