Opened 3 months ago

Closed 3 months ago

#63668 closed defect (fixed)

libusb-devel @20210922-e88b77ff: error: 'kUSBReEnumerateCaptureDeviceMask' undeclared

Reported by: evanmiller (Evan Miller) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mascguy (Christopher Nielsen)
Port: libusb-devel

Description

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

Attachments (1)

libusb-devel-main.log (42.1 KB) - added by evanmiller (Evan Miller) 3 months ago.

Download all attachments as: .zip

Change History (4)

Changed 3 months ago by evanmiller (Evan Miller)

Attachment: libusb-devel-main.log added

comment:1 Changed 3 months ago by evanmiller (Evan Miller)

comment:2 Changed 3 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 3 months ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In 8ce1ce95d7d6f0b0111c37e1a2bfb15efa844734/macports-ports (master):

libusb-devel: fix pre-Catalina build issues

Closes: #63668
See: https://github.com/libusb/libusb/pull/1023
See: #61868

Note: See TracTickets for help on using tickets.