|
<< Click to Display Table of Contents >> Navigation: Forum > FastMM4 & C++Builder 11.3 & IntraWeb 15.6.7 |
04-11-2025, 09:41 PM:
Has anyone successfully used FastMM4 with C++Builder 11.3 and IntraWeb 15.6.7 (or even IW 16)?
I followed the instructions in FastMM4BCB.cpp. I get many compiler errors, like these:
[bcc32 Error] typeinfo.h(154): E2367 Can't inherit RTTI class from non-RTTI base 'exception'
typeinfo.h(154): class bad_cast : public std::exception {};
[bcc32 Error] xlocale(670): E2238 Multiple declaration for 'codecvt<char16_t,char,int>::in(int &,const char *,const char *,const char * &,char16_t *,char16_t *,char16_t * &) const'
xlocale(667):
result in(_Statype& _State,
const _Byte *_First1, const _Byte *_Last1, const _Byte *& _Mid1,
_Elem *_First2, _Elem *_Last2, _Elem *& _Mid2) const
{ // convert bytes [_First1, _Last1) to [_First2, _Last)
return (do_in(_State,
_First1, _Last1, _Mid1, _First2, _Last2, _Mid2));
}
Any advice?
04-14-2025, 07:51 PM:
I've made some progress.
This is an older project, using the initial project options.
I changed it to use the Clang compiler (Project > Options > C++ Compiler > deselect Use 'classic' Borland compiler), and most errors went away.
So I created an empty project, and no errors!
- I did select FastMM4 from the project wizard. BUT, to use FastMM4, do I still need to follow the instructions in FastMM4BCB.cpp and add the FastMM4 files manually?
- How can I tell if FastMM4 is used?
Thanks