Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 16:52:06 GMT
From:      Scott Howard <showard314@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/190204: Please add an empty #define LIBUSB_CALL in libusb.h (1.0+ API)
Message-ID:  <201405251652.s4PGq6Hh015269@cgiserv.freebsd.org>
Resent-Message-ID: <201405251700.s4PH00al013911@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405251652.s4PGq6Hh015269>