Skip to content

require support no-deprecated #1791

Closed

Description

@MYTNB

Godot version

master

godot-cpp version

master

System information

windows10

Issue description

when i use the <deprecated=no> option to build godot engine, godot-cpp also use deprecated method

Steps to reproduce

Build godot using option:deprecated=no,then use gdextensions

Minimal reproduction project

N/A

Activity

  1. dsnopek commented on Jun 10, 2025

    @dsnopek
    Collaborator

    Which specific deprecated function is godot-cpp using?

    I agree that we should update to use the latest GDExtension interface functions, but I don't know that we can "require" that we always are up-to-date. We do our best. :-)

    For deprecated functions from ClassDB, their presence depends on the extension_api.json used - so if you want deprecated functions to be removed, you need to provide your own extension_api.json that was generated from Godot built with deprecated=no

  2. added
    bug
    on Jun 10, 2025
  3. added this to the 4.x milestone on Jun 10, 2025
  4. MYTNB commented on Jun 10, 2025

    @MYTNB
    Author

    Thank you for your reply. We have used functions such as "get_godot_version" and "array_ref" in godot_cpp

    Which specific deprecated function is godot-cpp using?

    I agree that we should update to use the latest GDExtension interface functions, but I don't know that we can "require" that we always are up-to-date. We do our best. :-)

    For deprecated functions from ClassDB, their presence depends on the extension_api.json used - so if you want deprecated functions to be removed, you need to provide your own extension_api.json that was generated from Godot built with deprecated=no

  5. dsnopek commented on Jun 16, 2025

    @dsnopek
    Collaborator

    I just posted PR #1792 which should allow godot-cpp to work with latest Godot master compiled with scons deprecated=no

  6. MYTNB commented on Jun 17, 2025

    @MYTNB
    Author

    I just posted PR #1792 which should allow godot-cpp to work with latest Godot master compiled with scons deprecated=no

    Thanks for your work! i will try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions