Menu

#62 FastMM4BCB.cpp compile error in XE4

v1.0 (example)
open
nobody
None
5
2013-07-17
2013-07-10
Pablo
No

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.

Discussion

  • Pierre le Riche

    Pierre le Riche - 2013-07-10

    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

     
  • Pablo

    Pablo - 2013-07-16

    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

     
  • Pierre le Riche

    Pierre le Riche - 2013-07-17

    Thanks Pablo! I've checked in your patch.

     

Log in to post a comment.

MongoDB Logo MongoDB