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: 9054800713c3c62640fcf3b057d2ff60131060f0 / Shawn Yang <[email protected]> fix(cpp): replace friend functions with static member functions in FORY_STRUCT Replaced friend constexpr functions with static constexpr member functions following the YLT_REFL pattern. This completely avoids the MSVC RTTI access violation issue with polymorphic types. Changes: - FORY_STRUCT now defines: static constexpr auto ForyFieldInfo() noexcept - Removed friend keyword entirely from FORY_STRUCT macros - Added ForyFieldInfoHelper with SFINAE to forward calls from ForyFieldInfo(obj) to T::ForyFieldInfo() using C++17 std::void_t This approach is simpler, cleaner, and avoids all MSVC RTTI issues while maintaining the same functionality. All 25 C++ tests pass locally. The fix allows FORY_STRUCT to be used inside polymorphic classes without any issues on Windows Server 2022 / MSVC. Report URL: https://github.com/apache/fory/actions/runs/21318662941 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
