Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: fedec10a95a33a5e29c46faba689411b4e9ce6ee
https://github.com/Perl/perl5/commit/fedec10a95a33a5e29c46faba689411b4e9ce6ee
Author: Karl Williamson <[email protected]>
Date: 2026-02-19 (Thu, 19 Feb 2026)
Changed paths:
M embed.h
M regen/embed.pl
Log Message:
-----------
embed.pl: Fix BBC build failures #24196, #24197
Fixes #24196
Fixes #24197
This bug stemmed from a C preprocessor nuance that I was unaware of. It
only happened on unthreaded builds and only affected functions that have
a single argument, the thread context, so that on unthreaded builds,
these have 0 parameters. The preprocessor dropped the parens indicating
there is an argument list (empty), which led to compilation errors.
It does not do this if there is at least one argument besides the thread
context one.
The solution is to extend the use of a paradigm already in effect for
other situations, so that there is a placeholder argument for the thread
context that gets dropped. This is only defined on unthreaded builds.
It is cleaner to do this for unaffected functions as well, (those that
have an argument besides the thread context).
Threaded is unchanged.
Commit: 3bd64dc228ad1270f77dd1e91e4fb4538f79d654
https://github.com/Perl/perl5/commit/3bd64dc228ad1270f77dd1e91e4fb4538f79d654
Author: Karl Williamson <[email protected]>
Date: 2026-02-19 (Thu, 19 Feb 2026)
Changed paths:
M proto.h
M regen/embed.pl
Log Message:
-----------
embed.pl: Don't generate prototypes for macros
On unthreaded builds, the elements changed by this commit are macros, so
a prototype is useless. Simply #ifdef them to threaded only.
Compare: https://github.com/Perl/perl5/compare/34f84ef118cf...3bd64dc228ad
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications