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. Cheers, Zach _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development