c++: kconfig: EXCEPTIONS needs to depend on NEWLIB_LIBC

C++ exception support needs to use the newlib C library in order to get
the abort function. C++ exceptions also do not work with the simple
malloc/free implementation provided by the Zephyr minimal C library.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2018-11-25 23:30:20 +01:00 committed by Andrew Boie
commit a0b9e70e10

View file

@ -55,6 +55,7 @@ config LIB_CPLUSPLUS
config EXCEPTIONS config EXCEPTIONS
depends on CPLUSPLUS depends on CPLUSPLUS
depends on NEWLIB_LIBC
select LIB_CPLUSPLUS select LIB_CPLUSPLUS
bool "Enable C++ exceptions support" bool "Enable C++ exceptions support"
help help