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

warning: undefining the allocator of T_DATA class FileMagic #47

Open
Lykos opened this issue Feb 5, 2024 · 3 comments
Open

warning: undefining the allocator of T_DATA class FileMagic #47

Lykos opened this issue Feb 5, 2024 · 3 comments

Comments

@Lykos
Copy link

Lykos commented Feb 5, 2024

I recently updated from Ruby 3.0.2 to 3.3.0 and I started getting the following warning at the line where I call FileMatic.new:

warning: undefining the allocator of T_DATA class FileMagic

I googled it but didn't find anything useful about this error message. Good luck!

@Lykos
Copy link
Author

Lykos commented Feb 5, 2024

I just found out that #46 seems to fix this.

@tomtt
Copy link

tomtt commented Feb 19, 2024

I am also encountering this same issue and for #46 it seems there is still some open question whether it is a proper solution. Would be good to see a fix of this.

@PoroshkinaVV
Copy link

@blackwinter is there any chances you merge this MR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants