Skip to content

Commit

Permalink
Merge pull request #28 from Breakthrough/develop
Browse files Browse the repository at this point in the history
Add CTTI name prettifying for GHS C++ compiler.
  • Loading branch information
apolukhin committed Mar 2, 2019
2 parents ebe74ba + d69a8a2 commit afd1b6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/boost/type_index/detail/compile_time_type_info.hpp
Expand Up @@ -89,6 +89,9 @@
#elif defined(__GNUC__) && defined(BOOST_NO_CXX14_CONSTEXPR)
// sizeof("static const char* boost::detail::ctti<T>::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<T>::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, "")
Expand Down

0 comments on commit afd1b6c

Please sign in to comment.