Branch: refs/heads/haarg/ppport-no-compound-token-split-by-macro-warnings
  Home:   https://github.com/Perl/perl5
  Commit: 4eda1a24c2a61df3aca5e86f51c3dd47ab84860f
      
https://github.com/Perl/perl5/commit/4eda1a24c2a61df3aca5e86f51c3dd47ab84860f
  Author: Graham Knop <ha...@haarg.org>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M dist/Devel-PPPort/parts/inc/call
    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. One remaining macro relied on
croak_sv internally using brace groups.

Fix the remaining macro relying on brace groups by adding our own brace
group, and then change STMT_START/STMT_END to never use brace groups.


  Commit: 22a1bf699793a967aa2652361017669ff522746f
      
https://github.com/Perl/perl5/commit/22a1bf699793a967aa2652361017669ff522746f
  Author: Graham Knop <ha...@haarg.org>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M dist/Devel-PPPort/PPPort_pm.PL

  Log Message:
  -----------
  Devel-PPPort: bump version


Compare: https://github.com/Perl/perl5/compare/3e6ca8591006...22a1bf699793

Reply via email to