[MacPorts] #64602: libusb: Configuration logfiles contain indications of -Wimplicit-function-declaration in "strchr"
MacPorts
noreply at macports.org
Thu Feb 3 21:42:40 UTC 2022
#64602: libusb: Configuration logfiles contain indications of -Wimplicit-function-
declaration in "strchr"
---------------------+--------------------------------------------
Reporter: judaew | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: wimplicit-function-declaration
Port: libusb |
---------------------+--------------------------------------------
Comment (by michaelld):
Getting such an error may be intentional by the developer. In this case
this is an intentional check to see if `strchr` is implicitly defined or
not. The code is actually part of `autoconf`, not `libusb`. I have a patch
to add a `#warning` to this test in AC; with this patch, we could tweak
then `Wimplicit-function-declaration` port check for the warning to not
report these specific messages (which I don't have a patch for yet).
Beyond this patch, I'm not aware of a way of hiding theses messages.
--
Ticket URL: <https://trac.macports.org/ticket/64602#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list