summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-11 12:07:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-11 12:07:48 +0900
commitd3f06a51f0ca2428e57754f6692883047da973e5 (patch)
treefdb538b8c2c65e74b5ed457ba964ca3f3226bae9
parent9dd508a3c3f71d0cfff68634be6603466a9e16d0 (diff)
downloadtdepim-remove/no-exception.tar.gz
tdepim-remove/no-exception.zip
Remove unusued __EXCEPTIONSremove/no-exception
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--indexlib/boost-compat/config/compiler/common_edg.h2
-rw-r--r--indexlib/boost-compat/config/compiler/gcc.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/indexlib/boost-compat/config/compiler/common_edg.h b/indexlib/boost-compat/config/compiler/common_edg.h
index 28b164a8..94da0698 100644
--- a/indexlib/boost-compat/config/compiler/common_edg.h
+++ b/indexlib/boost-compat/config/compiler/common_edg.h
@@ -35,7 +35,7 @@
#endif
// See also kai.h which checks a Kai-specific symbol for EH
-# if !defined(__KCC) && !defined(__EXCEPTIONS)
+# if !defined(__KCC)
# define BOOST_NO_EXCEPTIONS
# endif
diff --git a/indexlib/boost-compat/config/compiler/gcc.h b/indexlib/boost-compat/config/compiler/gcc.h
index 4be7f408..1561c9a7 100644
--- a/indexlib/boost-compat/config/compiler/gcc.h
+++ b/indexlib/boost-compat/config/compiler/gcc.h
@@ -39,9 +39,7 @@
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
# endif
-#ifndef __EXCEPTIONS
-# define BOOST_NO_EXCEPTIONS
-#endif
+#define BOOST_NO_EXCEPTIONS
//
// Bug specific to gcc 3.1 and 3.2: