RAD Studio |  |

Exception Handling Options (C++)

The following exception handling options are available for bcc32:

-x | Enables C++ exception handling. Enabled by default.
-xd | Enables destructor cleanup. Calls destructors for all automatically declared objects between the scope of the catch and throw statements when an exception is thrown. Enabled by default.
-xp | Enables the program to use the __ThrowFileName global to obtain the file where the exception occurred and the __ThrowLineNumber global to access the line number from where the C++ exception was thrown. Disabled by default.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!