You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some trawling through perlapi and perlguts suggested to me that I could replace Perl_bytes_to_utf8( aTHX_ ... ) with bytes_to_utf8( ... ). I did so, and the module compiled and passed its tests. I note that 5.41.8 changed Perl_bytes_to_utf8( ... ) from a subroutine in utf8.c to a macro in utf8.h. But perlapi says that bytes_to_utf8() is experimental.
My XS-fu is not strong enough to say positively that this is a bug in Perl rather than a bug in the subject module. If the latter, I will file a ticket against the Sereal repository, but I would appreciate direction on what the correct implementation is.
Module:
Description
An attempt to build Sereal::Encoder under a non-threaded Perl 5.41.8 under macOS fails with the errors:
Some trawling through perlapi and perlguts suggested to me that I could replace
Perl_bytes_to_utf8( aTHX_ ... )
withbytes_to_utf8( ... )
. I did so, and the module compiled and passed its tests. I note that 5.41.8 changedPerl_bytes_to_utf8( ... )
from a subroutine inutf8.c
to a macro inutf8.h
. Butperlapi
says thatbytes_to_utf8()
is experimental.My XS-fu is not strong enough to say positively that this is a bug in Perl rather than a bug in the subject module. If the latter, I will file a ticket against the Sereal repository, but I would appreciate direction on what the correct implementation is.
Steps to Reproduce
Expected behavior
The module should compile without error.
Perl configuration
The text was updated successfully, but these errors were encountered: