FastMM4BCB.cpp compile error in XE4
Brought to you by:
pierre_le_riche
Hi
Compiling FstMM4BCB.cpp in Builder XE4 results in follow error:
[bcc32 Error] FastMM4BCB.cpp(63): E2528 pragma directive option -x must be set before compilation begins
The problem is the pragma option -x directive in line 63. Same issue with option "-xd".
A possible solution is to move this options to the begin of file.
Hi Pablo,
I am not a C++ Builder user, so I rely on the community to keep the C++ support up-to-date. If you've managed to get it working, could you please submit a patch so I can make it part of the official distribution?
Thanks!
Pierre
Hi Pierre
Sorry for the delay in answering. Here is the patch, is tested under 2010 and XE4 Builder versions. This is the first time I publish a patch, I hope this is well created.
Thanks for your work and effort!
Pablo
Thanks Pablo! I've checked in your patch.