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.

(On the 'PC' platform we do this by default, by setting _HAS_EXCEPTIONS as 0.)

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: Build Directories and Naming