diff --git a/test/Jamfile.v2 b/test/Jamfile.v2
index f9961ba..1c2433b 100644
--- a/test/Jamfile.v2
+++ b/test/Jamfile.v2
@@ -15,7 +15,7 @@ tlib = /boost/test//boost_unit_test_framework/static ;
compat = BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY ;
# Making own `nortti` that is link compatible
-nortti = gcc:-fno-rtti clang:-fno-rtti msvc:/GR- ;
+nortti = gcc:"-fno-rtti -DBOOST_NO_RTTI" clang:"-fno-rtti -DBOOST_NO_RTTI" msvc:/GR- ;
# Making libraries that CANNOT work between rtti-on/rtti-off modules
diff --git a/test/ctti_print_name.cpp b/test/ctti_print_name.cpp
index 5d153ed..93e5c62 100644
--- a/test/ctti_print_name.cpp
+++ b/test/ctti_print_name.cpp
@@ -8,12 +8,13 @@
#define BOOST_TEST_MODULE type_index_ctti_test_module
#include
+#include
// This cpp file:
// * tests BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING macro
// * outputs full ctti name so that TypeIndex library could be adjust to new compiler without requesting regression tester's help
#define BOOST_TYPE_INDEX_CTTI_USER_DEFINED_PARSING (0,0,false,"")
-#include
+#include
namespace user_defined_namespace {
class user_defined_class {};
@@ -22,9 +23,9 @@ namespace user_defined_namespace {
BOOST_AUTO_TEST_CASE(ctti_print_full_string_helper_test)
{
using namespace boost::typeindex;
- BOOST_TEST_CHECKPOINT("int: " << ctti_type_index::type_id());
- BOOST_TEST_CHECKPOINT("double: " << ctti_type_index::type_id());
- BOOST_TEST_CHECKPOINT("user_defined_namespace::user_defined_class: " << ctti_type_index::type_id());
+ std::cerr << "int: " << ctti_type_index::type_id() << '\n';
+ std::cerr << "double: " << ctti_type_index::type_id() << '\n';
+ std::cerr << "user_defined_namespace::user_defined_class: " << ctti_type_index::type_id() << '\n';
BOOST_CHECK(true);
}