Skip to content

Commit d05977b

Browse files
stephanosiogalak
authored andcommitted
cpp: Restrict C++ exceptions usage to supported archs
This commit makes CONFIG_EXCEPTIONS un-selectable for the architectures that are known to have broken C++ exception handling support (see #32448). Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 5a9d0d5 commit d05977b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/cpp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ if LIB_CPLUSPLUS
5454

5555
config EXCEPTIONS
5656
bool "Enable C++ exceptions support"
57+
depends on !NIOS2 && !SPARC
5758
help
5859
This option enables support of C++ exceptions.
5960

0 commit comments

Comments
 (0)