The GitHub Actions job "Fory CI" on 
fory.git/support_private_fields_of_cpp_class has failed.
Run started by GitHub user chaokunyang (triggered by chaokunyang).

Head commit for run:
00250494685b1b617a9d8139b71caf4f3c6e0aa9 / chaokunyang <[email protected]>
fix(cpp): add non-inline virtual functions for MSVC RTTI support

MSVC requires at least one non-inline virtual function (key function) for
proper RTTI/vtable emission. When all virtual functions are inline or
defaulted, MSVC doesn't generate RTTI data correctly, causing 'Access
violation - no RTTI data!' exceptions when using typeid() on polymorphic
objects.

This adds empty non-inline ensure_rtti() virtual functions to:
- Base: polymorphic base class for derived type tests
- NestedContainer: polymorphic type for depth tests
- PolymorphicBaseForMono: polymorphic type for monomorphic field tests

This follows the standard C++ key function technique and is similar to
how other serialization libraries like msgpack-c handle MSVC RTTI.

Report URL: https://github.com/apache/fory/actions/runs/21279312563

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to