-
Notifications
You must be signed in to change notification settings - Fork 29
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
Interface.so: undefined symbol: sv_nv #303
Comments
The definition of
I tried to use |
Indeed. Perl removed sv_nv macro from embed.h in:
Which happened between Perl v5.37.0 and v5.37.1. |
ppisar
added a commit
to ppisar/SDL
that referenced
this issue
Jul 12, 2023
Perl 5.37.1 removed a deprecated sv_nv() macro and SDL fails to build with Perl 5.38.0: lib/SDLx/Controller/Interface.xs:60:26: error: implicit declaration of function 'sv_nv' 60 | out->dv_x = sv_nv(temp); | ^~~~~ Users are advised to use SvNVx() macro instead. SvNVx() seems to have been available all the time (it predates a commit from 1993-10-07). This patch does that. PerlGameDev#303
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tests are failing because the deprecated C functions were removed in Perl 5.37.1.
More information could be found on perl5371delta.pod#Deprecations
The text was updated successfully, but these errors were encountered: