Re: [Openocd-development] r1492: jlink build error

2009-04-21 Thread Ben Dooks
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

Re: [Openocd-development] r1492: jlink build error

2009-04-21 Thread Zach Welch
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 us

[Openocd-development] r1492: jlink build error

2009-04-21 Thread Ben Dooks
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