Board index » cppbuilder » Rogue Wave BCB 1.0 -> BCB 3.0

Rogue Wave BCB 1.0 -> BCB 3.0

Has anyone successfully used and/or built Rogue Wave libraries with BCB 3.0
?

I have used Tools.h++ with BCB 1.0 but the conversion to BCB 3.0 is proving
a problem.

In BCB 3.0 projects I tried using the Tools.h++ library I had built with BCB
1.0 and got linker errors. Typical examples of the errors are :-

[LinkerError] Unresolved external 'strchr(char*,int)' referenced from
E:\ROGUEWAVE\WORKSPACES\WINNT\BCB1\LIB\TLS4S.LIB|cstring.
[LinkerError] Unresolved external 'streambuf::sgetn(char*,int)' referenced
from E:\ROGUEWAVE\WORKSPACES\WINNT\BCB1\LIB\TLS4S.LIB|bstream.
[LinkerError] Unresolved external 'ios::~ios()' referenced from
E:\ROGUEWAVE\WORKSPACES\WINNT\BCB1\LIB\TLS4S.LIB|bstream.
[LinkerError] Unresolved external 'ios::init(streambuf*)' referenced from
E:\ROGUEWAVE\WORKSPACES\WINNT\BCB1\LIB\TLS4S.LIB|bstream.

Then I tried rebuilding the Tools.h++ library using BCB 3.0. I get many
compile errors :-

Borland C++ 5.3 for Win32 Copyright (c) 1993, 1998 Borland International
..\..\..\..\src/auditbuf.cpp:
Warning ..\..\..\..\src/rw/generic.h 93: Redefinition of 'name2' is not
identical
Warning e:\borland\CBuilder3\INCLUDE\stdcomp.h 1015: Redefinition of 'name2'
is not identical
Error ..\..\..\..\src/rw/rstream.h 115: Ambiguity between 'istream' and
'std::istream'
Error ..\..\..\..\src/rw/rstream.h 115: Overloaded 'ws' ambiguous in this
context in function rwEatwhite(istream &)
Error ..\..\..\..\src/rw/auditbuf.h 143: Ambiguity between 'streamsize' and
'std::streamsize'
Warning ..\..\..\..\src/rw/auditbuf.h 155: 'RWAuditStreamBuffer::setbuf(char
*,int)' hides virtual function
'std::basic_streambuf<char,std::char_traits<char> >::setbuf(char *,long)'
Error ..\..\..\..\src/auditbuf.cpp 112: Call to undefined function
'unbuffered' in function RWAuditStreamBuffer::RWAuditStreamBuffer(void
(*)(unsigned char,void *),void *)
Error ..\..\..\..\src/auditbuf.cpp 122: 'rdbuf' is not a member of
'istream', because the type is not yet defined in function
RWAuditStreamBuffer::RWAuditStreamBuffer(istream &,void (*)(unsigned
char,void *),void *)

Has anyone any experiences to share, encouraging solutions or share the
agony !

Steve

 

Re:Rogue Wave BCB 1.0 -> BCB 3.0


I am having basically the same sort of problems with Tools.h++.  I'm trying
to convert our BC5 project which uses Rogue Waves Tools.h++ to BCB 3.0.  I
am getting all kinds of "redefinition" errors like the ones you mentioned;
mine our on istream and ostream though.  Any suggestions would be a great
help.

ameck...@access-health.com

Other Threads