CONFIG_EXCEPTIONS

Enable C++ exceptions support

Type: bool

Help

This option enables support of C++ exceptions.

Direct dependencies

CPLUSPLUS && NEWLIB_LIBC

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/cpp/Kconfig:56

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:12

Menu path: (top menu) → C++ Options

config EXCEPTIONS
    bool
    prompt "Enable C++ exceptions support" if CPLUSPLUS && NEWLIB_LIBC
    select LIB_CPLUSPLUS if CPLUSPLUS && NEWLIB_LIBC
    depends on CPLUSPLUS && NEWLIB_LIBC
    help
      This option enables support of C++ exceptions.

(Definitions include propagated dependencies, including from if’s and menus.)