-
-
Notifications
You must be signed in to change notification settings - Fork 691
Closed
Labels
Description
Godot version
Godot Engine v4.2.dev.custom_build.eb4301b94
godot-cpp version
System information
Arch Linux, AMD ATI Radeon Vega Series / Radeon Vega Mobile Series, CPU: AMD Ryzen 3 3200G (4) @ 3.600GHz
Issue description
I am making a GDExtension that runs tensorflow models. It uses IREE to run the models. To compile it, runtime type id need to be turned off (-no-rtti), which means all of the casting is forbidden. In the past, I could just use NO_SAFE_CAST macro to turn off casting. But now in include/godot_cpp/core/object.hpp, there is a dynamic cast at line 153 and line 166.
I'm not sure whether NO_SAFE_CAST means turning off some of the cast or absolutely no cast. I do hope there is a macro to completely turn off casting.
Steps to reproduce
Compile godot-cpp with NO_SAFE_FLAG defined and -fno-rtti flag.
Minimal reproduction project
N/A