PathEngine home previous: Configurationsnext: Build Directories and Naming
Contents, Programmers Guide, Building the Source Code, Exception Handling

Exception Handling

Compiling code with exception handling adds some overhead in terms of both executable size and performance.

PathEngine uses a call-back based approach to error handling and does not throw or catch any exceptions explicitly, but we do include some STL headers, which, by default, do generally add a requirement for exception handling.

In many cases it's possible to turn off exception code in the STL, by adding a suitable preprocessor define, with suitable compiler switches then added to turn off exception handling instrumentation.


Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: Build Directories and Naming