usb/190204: Please add an empty #define LIBUSB_CALL in libusb.h (1.0+ API)
Scott Howard
showard314 at gmail.com
Sun May 25 17:00:00 UTC 2014
>Number: 190204
>Category: usb
>Synopsis: Please add an empty #define LIBUSB_CALL in libusb.h (1.0+ API)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-usb
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun May 25 17:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Scott Howard
>Release:
>Organization:
Debian
>Environment:
>Description:
libusb 1.0 API has an empty
#define LIBUSB_CALL
Described here:
http://git.libusb.org/?p=libusb.git;a=blob;f=libusb/libusb.h;hb=7634714aa696175b08016b6f2185a75a2f55a113;js=1#l100
Implemented here:
http://libusb.sourceforge.net/api-1.0/group__misc.html#gaa7d6035eb2692d455d27144560a0f68d
Cross platform applications need LIBUSB_CALL, even if it is empty.
>How-To-Repeat:
>Fix:
Add
#define LIBUSB_CALL
to one of the libusb headers (maybe libusb10.h?)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-usb
mailing list