[MacPorts] #71435: Perl 5.34 possibly needs a patch on Tiger because of " $cf->{ccflags} .= ($cf->{ccflags} ? ' ' : '').'-Wno-error=implicit-function-declaration'; "
MacPorts
noreply at macports.org
Mon Dec 2 09:46:14 UTC 2024
#71435: Perl 5.34 possibly needs a patch on Tiger because of " $cf->{ccflags} .=
($cf->{ccflags} ? ' ' : '').'-Wno-error=implicit-function-declaration';"
------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords: tiger
Port: perl5.34 |
------------------------+--------------------
Comment (by ballapete):
That's clearly understood (by me and you). My observation when testing
Perl Modules that are built and installed via CBuilder is that exactly
this argument is passed to the C or C++ compiler during tests, to compile
test programmes, which does not come from the module's files. So it has to
come out of the system, Perl 5.34 in this case. And
`/opt/local/lib/perl5/5.34/ExtUtils/CBuilder/Platform/darwin.pm` seems to
be the culprit. (OK, I actually do not understand what this is doing, it
is certainly not removing `-Wno-error=implicit-function-declaration` from
a list of arguments.)
Therefore I think it is less work and overhead to leave the correction of
`XCode 12` to those Macs that have it and remove or comment it on the
others, make the work-around not needed. I see the same file on `Sonoma
with Xcode 16`…
--
Ticket URL: <https://trac.macports.org/ticket/71435#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list