Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undefined symbol error on Linux with virtual methods that take Node * arguments #1484

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Jun 10, 2024

Fixes #1480

This changes const to constexpr in some definitions of the GetTypeInfo template (we were using constexpr already in a few).

We should probably make the same changes to Godot itself as well, since that's where this code was copied from in the first place.

@dsnopek dsnopek added bug This has been identified as a bug platform:linuxbsd labels Jun 10, 2024
@dsnopek dsnopek added this to the 4.x milestone Jun 10, 2024
@dsnopek dsnopek requested a review from a team as a code owner June 10, 2024 15:53
Copy link
Member

@AThousandShips AThousandShips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Kehom
Copy link
Contributor

Kehom commented Jun 11, 2024

It worked! Thanks for the fix!

@dsnopek dsnopek merged commit fe06472 into godotengine:master Jun 11, 2024
12 checks passed
@akien-mga akien-mga modified the milestones: 4.x, 4.3 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug platform:linuxbsd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtual function with Node* argument - Undefined Symbol Under Linux
4 participants