[MacPorts] #61024: libgphoto2 @2.5.25: error: implicitly declaring library function 'strdup' (was: libgphoto2_port 0.12.0: Compilation error : gphoto2-port-info-list.c:253:38)
MacPorts
noreply at macports.org
Thu Aug 20 04:00:38 UTC 2020
#61024: libgphoto2 @2.5.25: error: implicitly declaring library function 'strdup'
-------------------------+------------------------
Reporter: GreyCon | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: libgphoto2 |
-------------------------+------------------------
Changes (by ryandesign):
* status: assigned => accepted
Comment:
Thanks for reporting this.
Are you using the Xcode 12 beta command line tools? That's the only
explanation I can come up with for why implicit function declarations are
being treated as errors in your case. In Xcode 11 and earlier they should
be treated as warnings, and I recommend you use the Xcode 11.5 command
line tools for now to avoid these types of problems.
I've reported this problem to the developers:
https://github.com/gphoto/libgphoto2/issues/552
There are other problems after that that I'm still investigating.
--
Ticket URL: <https://trac.macports.org/ticket/61024#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list