On Tue, Apr 21, 2009 at 04:22:12AM -0700, Zach Welch wrote:
> On Tue, 2009-04-21 at 11:36 +0100, Ben Dooks wrote:
> > The JLink driver is failing to build because of a warning
> > that is now being treated as an error. The warning is being
> > generated by usb_bulk_with_retries() being passed both
> > usb_bulk_read() and usb_bulk_write() function pointers,
> > where usb_bulk_write() takes a pointer to a constant
> > buffer.
> > 
> > Attached is a patch to fix this.
> 
> Which platform+version of libusb?  My copy of /usr/include/usb.h from
> libusb-0.1.12-r1 (Gentoo) shows identical prototypes (both sans const),
> so I feel somewhat vindicated of being a victim of my own carelessness
> this time.  Still, sorry for the inconvenience.

debian:
ii  libusb-0.1-4   2:0.1.12-13    userspace USB programming library
ii  libusb-1.0-0   2:1.0.0-1      userspace USB programming library
ii  libusb-dev     2:0.1.12-13    userspace USB programming library developmen

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to