From d05977b8e1465b1f37d01ece085ce86f056e612f Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Thu, 27 May 2021 21:37:40 +0900 Subject: [PATCH] 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 --- subsys/cpp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/cpp/Kconfig b/subsys/cpp/Kconfig index 60e060f30f3..a882d8b049a 100644 --- a/subsys/cpp/Kconfig +++ b/subsys/cpp/Kconfig @@ -54,6 +54,7 @@ if LIB_CPLUSPLUS config EXCEPTIONS bool "Enable C++ exceptions support" + depends on !NIOS2 && !SPARC help This option enables support of C++ exceptions.