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
{{ message }}
Repository navigation
operator= in Wrapped.hpp produces deprecated warnings #1995
The assignment operator void operator=(const m_class &p_rval) {} in GDEXTENSION_CLASS_ALIAS, which is used to create Godot classes, produces deprecated warnings in MinGW. For devs using -Werror this fails the build.
error: implicitly-declared 'constexpr godot::SpriteFrames::SpriteFrames(const godot::SpriteFrames&)' is deprecated [-Werror=deprecated-copy]
I know it's strange, because I'm not really trying to copy godot::SpriteFrames, but rather this error comes from some reflection magic.
The fix it very simple, since the function is private and is defined as {}, marking it = delete; fixes the warning.
changed the title [-]operator= in Wrapped.hpp causes deprecated warnings[/-][+]operator= in Wrapped.hpp priduces deprecated warnings[/+]on May 30, 2026
changed the title [-]operator= in Wrapped.hpp priduces deprecated warnings[/-][+]operator= in Wrapped.hpp produces deprecated warnings[/+]on May 30, 2026
Activity
[-]`void operator=(const m_class & /*p_rval*/) {}`[/-][+]operator= in Wrapped.h causes deprecated warnings[/+][-]operator= in Wrapped.h causes deprecated warnings[/-][+]operator= in Wrapped.hpp causes deprecated warnings[/+][-]operator= in Wrapped.hpp causes deprecated warnings[/-][+]operator= in Wrapped.hpp priduces deprecated warnings[/+][-]operator= in Wrapped.hpp priduces deprecated warnings[/-][+]operator= in Wrapped.hpp produces deprecated warnings[/+]