You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've updated Catch2 in my project to the version 2.1.1 and it stopped to build with the following error messages:
In file included from /path/project/test/src/main.cpp:32:
In file included from /path/project/test/include/project_ut.hpp:31:
/path/project/test/include/catch.hpp:5990:21: error: cannot use dynamic_cast with -fno-rtti
assert( dynamic_cast<detail::BoundValueRefBase*>( m_ref.get() ) );
^
/path/project/test/include/catch.hpp:6066:40: error: cannot use dynamic_cast with -fno-rtti
if( auto flagRef = dynamic_cast<detail::BoundFlagRefBase*>( m_ref.get() ) ) {
^
/path/project/test/include/catch.hpp:6073:33: error: cannot use dynamic_cast with -fno-rtti
assert( dynamic_cast<detail::BoundValueRefBase*>( m_ref.get() ) );
^
3 errors generated.
Reverting back to 2.1.0 fixes the problem.
Release notes do not state anything about changed requirements for the compilation environment.
Catch version: 2.1.1
Operating System: macOS 10.13.3
Compiler+version: Apple LLVM version 9.0.0 (clang-900.0.39.2)
The text was updated successfully, but these errors were encountered:
I've updated Catch2 in my project to the version 2.1.1 and it stopped to build with the following error messages:
Reverting back to 2.1.0 fixes the problem.
Release notes do not state anything about changed requirements for the compilation environment.
The text was updated successfully, but these errors were encountered: