[MacPorts] #63668: libusb-devel @20210922-e88b77ff: error: 'kUSBReEnumerateCaptureDeviceMask' undeclared
MacPorts
noreply at macports.org
Sun Oct 24 18:39:20 UTC 2021
#63668: libusb-devel @20210922-e88b77ff: error: 'kUSBReEnumerateCaptureDeviceMask'
undeclared
------------------------+--------------------------
Reporter: evanmiller | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: libusb-devel
------------------------+--------------------------
{{{kUSBReEnumerateCaptureDeviceMask}}} was introduced in the 10.10 SDK, so
compiling on 10.9 and earlier will fail with:
{{{
os/darwin_usb.c: In function 'darwin_reenumerate_device':
os/darwin_usb.c:1749:18: error: 'kUSBReEnumerateCaptureDeviceMask'
undeclared (first use in this function); did you mean
'USBReEnumerateOptions'?
options |= kUSBReEnumerateCaptureDeviceMask;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USBReEnumerateOptions
os/darwin_usb.c:1749:18: note: each undeclared identifier is reported
only once for each function it appears in
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63668>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list