Groups | Search | Server Info | Login | Register


Groups > perl.perl5.changes > #34407

[Perl/perl5] e6dfa9: Unbreak Perl build on legacy Darwin systems

Newsgroups perl.perl5.changes
Date 2026-02-23 16:22 -0800
Message-ID <Perl/perl5/push/refs/heads/blead/7799c1-e6dfa9@github.com> (permalink)
Subject [Perl/perl5] e6dfa9: Unbreak Perl build on legacy Darwin systems
From perl5-changes@perl.org (Sevan Janiyan via perl5-changes)

Show all headers | View raw


  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: e6dfa909e10757e7906b67c06533058d0f40cb1c
      https://github.com/Perl/perl5/commit/e6dfa909e10757e7906b67c06533058d0f40cb1c
  Author: Sevan Janiyan <venture37@geeklan.co.uk>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    M dist/ExtUtils-CBuilder/Changes
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Unix.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/VMS.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/aix.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/android.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/cygwin.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/darwin.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/dec_osf.pm
    M dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/os2.pm

  Log Message:
  -----------
  Unbreak Perl build on legacy Darwin systems
On modern macOS the compiler defaults to '-Werror,-Wimplicit-function-declaration'
This breaks the build on code which calls a function without a prototype
(invalid in C99).
Turning the check off with '-Wno-error=implicit-function-declaration'
breaks the build of Perl itself on legacy versions of Darwin with
compilers which do not recognise the flags.
Removing it allows Perl to once again build on Mac OS X as old as 10.4
with GCC 4.0.1.
Bump version and document.
This requires a similar change to cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Darwin.pm
which has already been handled, separately.
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/444



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

Back to perl.perl5.changes | Previous | Next | Find similar


Thread

[Perl/perl5] e6dfa9: Unbreak Perl build on legacy Darwin systems perl5-changes@perl.org (Sevan Janiyan via perl5-changes) - 2026-02-23 16:22 -0800

csiph-web