You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2021/03/01 18:30:09 UTC

[celix] 04/04: Disables typename with rtti for now.

This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a commit to branch feature/gcc_4_9_0_fixes
in repository https://gitbox.apache.org/repos/asf/celix.git

commit ac860f9e55fac325dfcb7181b4fa45a43fcbac53
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Mon Mar 1 19:29:46 2021 +0100

    Disables typename with rtti for now.
---
 libs/framework/include/celix/Utils.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libs/framework/include/celix/Utils.h b/libs/framework/include/celix/Utils.h
index 757001f..bf4be75 100644
--- a/libs/framework/include/celix/Utils.h
+++ b/libs/framework/include/celix/Utils.h
@@ -39,6 +39,14 @@
 #endif
 #endif
 
+//FORCE DISABLE RTTI
+//TODO #323 add test CI job to test rtti based type name infer
+#undef CELIX_RTTI_ENABLED
+
+#ifdef CELIX_RTTI_ENABLED
+#include <cxxabi.h>
+#endif
+
 namespace celix {
     /**
      * @brief Returns the deferred type name for the template I