[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] d3f42b: DynaLoader: dl_dyld.xs: don't undef bool
From:       Tony Cook via perl5-changes <perl5-changes () perl ! org>
Date:       2024-02-28 23:38:44
Message-ID: Perl/perl5/push/refs/heads/blead/babcc2-d3f42b () github ! com
[Download RAW message or body]

  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d3f42b8d3823ce40f4f62758562ad4c02ffa3e27
      https://github.com/Perl/perl5/commit/d3f42b8d3823ce40f4f62758562ad4c02ffa3e27
  Author: Tony Cook <tony@develop-help.com>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    M ext/DynaLoader/dl_dyld.xs

  Log Message:
  -----------
  DynaLoader: dl_dyld.xs: don't undef bool

I expect this was added when we added our own bool, and before
we used bool so liberally ourselves.  Now dl_dyld.xs fails to
compile, since MY_CXT_CLONE indirectly uses UNLIKELY() which
casts to bool.

Tested locally with:

  ./Configure -des -Dusedevel -Dusethreads -Ddlsrc=dl_dyld.xs

on a modern Darwin, which failed before this change and builds
after.

Based on work done by Sevan Janiyan in #21751.

Fixes #21751



To unsubscribe from these emails, change your notification settings at \
https://github.com/Perl/perl5/settings/notifications


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic