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:
parent
b5f9771252
commit
a0b9e70e10
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue