Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 296969d3c2b710adc063a323e364dae12729e066
      
https://github.com/Perl/perl5/commit/296969d3c2b710adc063a323e364dae12729e066
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M handy.h
    M utf8.h

  Log Message:
  -----------
  Make paradigm into a macro

These macros use

    (x) | 0

to get a compiler error if x is a pointer rather than a value.  This was
instituted because there was confusion in them as to what they were
called with.

But the purpose of the paradigm wasn't obvious to even some experts; it
was documented in every file in which it was used, but not at every
occurrence.  And, not every compiler can cope with them, it turns out.

Making the paradigm into a macro, which this commit does, makes the uses
self-documenting, albeit at the expense of cluttering up the macro
definition somewhat; and allows the mechanism to be turned off if
necessary for some compilers.  Since it will be enabled for the majority
of compilers, the potential bugs will be caught anyway.


  Commit: de40ad3f34506856fa677ea5a7e2decb71cf29a7
      
https://github.com/Perl/perl5/commit/de40ad3f34506856fa677ea5a7e2decb71cf29a7
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M handy.h

  Log Message:
  -----------
  handy.h: Skip non-ptr assertion on old gcc's

See https://github.com/Perl/perl5/issues/18655, which this fixes.


  Commit: 3020db6f5b9cdb6ab6e335633c1e7db8557c4ee9
      
https://github.com/Perl/perl5/commit/3020db6f5b9cdb6ab6e335633c1e7db8557c4ee9
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M t/porting/known_pod_issues.dat

  Log Message:
  -----------
  podcheck db: exporter fixed pod problem


Compare: https://github.com/Perl/perl5/compare/f79e2ff95fbb...3020db6f5b9c

Reply via email to