The latest development version of this page may be more current than this released 2.7.5 version.

CONFIG_EXCEPTIONS

Enable C++ exceptions support

Type: bool

Help

This option enables support of C++ exceptions.

Direct dependencies

!NEWLIB_LIBC_NANO && LIB_CPLUSPLUS && CPLUSPLUS

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/cpp/Kconfig:65

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:15

Menu path: (Top) → Sub Systems and OS Services → C++ support for the application → Link with STD C++ library

config EXCEPTIONS
    bool "Enable C++ exceptions support"
    depends on !NEWLIB_LIBC_NANO && LIB_CPLUSPLUS && CPLUSPLUS
    help
      This option enables support of C++ exceptions.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)