ruby-2.4 warning: rb_data_typed_object_alloc is deprecated. #158
Labels
No Label
RGSS accuracy
bug
compilation
discussion
documentation
duplicate
enhancement
invalid
performance issue
port request
question
ruby incompatibility
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MapleShrine/mkxp#158
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As the title says. Game still builds and runs, however.
Yeah, since it's a warning and not an error :)
Edit: it appears that the replacement function has an identical signature, so just looks like a rename to me.
Yeah, I just thought I'd mention it at the top for the sake of those who may think its catastrophic. You could probably do some #ifdef magic around the call here so it can work across the board.
To be frank, I have no idea what the proper syntax is at the moment.
Depending on how long
rb_data_typed_object_wrap
has existed in ruby (say it's been there since 2.1), just using that instead is more straight forward. I don't think I'm too keen on keeping compat with ancient ruby versions (except 1.8.3, if that ever happens; but that's an entirely orthogonal undertaking on its own).Ah, so it is. Replacing it does the trick, clean build with no complaints. Having issue building fluidsynth support, though, but that's unrelated to this issue.
Doesn't appear to exist in ruby-2.1.10, grep checked.