When trying to update from 4.1.4 to 4.3.0, compilations failed due to lack of RTTI:
../../../../../../../../../../objectbox/src/main/cpp/external/mongo-cxx-driver/src/mongocxx/lib/mongocxx/v_noabi/mongocxx/mongoc_error.hh:111:26: error: use of dynamic_cast requires -frtti
111 | if (auto const ptr = dynamic_cast<v1::server_error const*>(&ex)) {
| ^
1 error generated.
Is using dynamic_cast an oversight there, or is RTTI now required?
P.S.: To clarify, we disable RTTI in some configurations and it has worked without in mongocxx for many versions.