diff --git a/simgear/nasal/cppbind/test/cppbind_test_ghost.cxx b/simgear/nasal/cppbind/test/cppbind_test_ghost.cxx index cdfcdf12..5ae2fd90 100644 --- a/simgear/nasal/cppbind/test/cppbind_test_ghost.cxx +++ b/simgear/nasal/cppbind/test/cppbind_test_ghost.cxx @@ -6,6 +6,12 @@ #include #include +#ifdef __OpenBSD__ + +#warning "OpenBSD's clang cannot cope with this code." + +#else + class Base1: public virtual SGVirtualWeakReferenced {}; @@ -226,3 +232,4 @@ BOOST_AUTO_TEST_CASE( bind_methods ) BOOST_CHECK_EQUAL(test->arg3, "s2"); BOOST_CHECK_EQUAL(test->arg4, 1); } +#endif