From d69a8a211bbd4f417aaeafec62f07f2341e68a9e Mon Sep 17 00:00:00 2001 From: Brandon Castellano Date: Thu, 28 Feb 2019 12:33:14 -0500 Subject: [PATCH] Add CTTI name prettifying for GHS C++ compiler. --- include/boost/type_index/detail/compile_time_type_info.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/type_index/detail/compile_time_type_info.hpp b/include/boost/type_index/detail/compile_time_type_info.hpp index abe2ee8..0197a01 100644 --- a/include/boost/type_index/detail/compile_time_type_info.hpp +++ b/include/boost/type_index/detail/compile_time_type_info.hpp @@ -89,6 +89,9 @@ #elif defined(__GNUC__) && defined(BOOST_NO_CXX14_CONSTEXPR) // sizeof("static const char* boost::detail::ctti::n() [with T = ") - 1, sizeof("]") - 1 BOOST_TYPE_INDEX_REGISTER_CTTI_PARSING_PARAMS(57, 1, false, "") +#elif defined(__ghs__) + // sizeof("static const char *boost::detail::ctti::n() [with T = ") - 1, sizeof("]") - 1 + BOOST_TYPE_INDEX_REGISTER_CTTI_PARSING_PARAMS(57, 1, false, "") #else // Deafult code for other platforms... Just skip nothing! BOOST_TYPE_INDEX_REGISTER_CTTI_PARSING_PARAMS(0, 0, false, "")