Branch: refs/heads/haarg/ppport-no-compound-token-split-by-macro-warnings Home: https://github.com/Perl/perl5 Commit: f5509931c449683e165a8ccf042004f3b5bc55e7 https://github.com/Perl/perl5/commit/f5509931c449683e165a8ccf042004f3b5bc55e7 Author: Graham Knop <ha...@haarg.org> Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths: M dist/Devel-PPPort/parts/inc/mess Log Message: ----------- Devel-PPPort: use inline function for croak_sv without brace groups The macro for croak_sv when brace groups are not enabled uses STMT_START/STMT_END. This works when used as a statement, but would break if used as part of an expression. To resolve this, change that macro to use a function. As a static inline function with a namespaced name, it shouldn't cause problems with namespace pollution. Commit: ce55de2bd18d1dbef73763797e5978b87328a24e https://github.com/Perl/perl5/commit/ce55de2bd18d1dbef73763797e5978b87328a24e Author: Graham Knop <ha...@haarg.org> Date: 2022-11-04 (Fri, 04 Nov 2022) Changed paths: M dist/Devel-PPPort/parts/inc/misc Log Message: ----------- Devel-PPPort: fix STMT_START and STMT_END to not warn on clang Since 7169efc77525df70484a824bff4ceebd1fafc760, perl's core STMT_START and STMT_END macros no longer try to use brace groups, due to the warnings they can generate and their very limited usefulness. That commit also changed Devel::PPPort to remove the use of brace groups in STMT_START/STMT_END. That led to errors in older perls, so it was partly reverted in e08ee3cb66f362c4901846a46014cfdfcd60326c. Since then, various other macros have been improved to properly work with brace groups enabled or disabled. We can now remove the brace group using variant of STMT_START/STMT_END, which will silence the warnings from clang. Commit: 30be6b17308527ea02038ec37dce2764c034251d https://github.com/Perl/perl5/commit/30be6b17308527ea02038ec37dce2764c034251d Author: Graham Knop <ha...@haarg.org> Date: 2022-11-04 (Fri, 04 Nov 2022) Changed paths: M dist/Devel-PPPort/PPPort_pm.PL Log Message: ----------- Devel-PPPort: bump version Compare: https://github.com/Perl/perl5/compare/964269da00a4...30be6b173085