Try again the link, The gerrit server becomes not responsive when jenkins is building... painful situation In the fix I have left "%04x" so the output will not change as I don't expect the length to be more than 64k. In case length exceeds 64k, than "%04x" will simply use more than 4 characters. I have recomputed the size of the output buffer, it was too big.
--- ** [tickets:#376] configure --enable-verbose triggers compilation error in arm-jtag-ew.c & opendous.c ** **Status:** new **Milestone:** 0.10.0 **Created:** Sat Dec 17, 2022 06:00 PM UTC by Tommy Murphy **Last Updated:** Sat Dec 17, 2022 10:53 PM UTC **Owner:** nobody When `--enable-verbose` is passed to `configure` it enables code conditionally compiled if `_DEBUG_USB_COMMS_` is defined in `src/jtag/drivers/arm-jtag-ew.c` and `src/jtag/drivers/opendous.c` which triggers a compilation error. * https://github.com/openocd-org/openocd/blob/master/src/jtag/drivers/arm-jtag-ew.c#L785 * https://github.com/openocd-org/openocd/blob/master/src/jtag/drivers/opendous.c#L805 This issue has been flagged and discussed in a couple of places already but I cannot find any open OpenOCD ticket or commit relating to it: * This openocd-dev mailing list thread which seems to have petered out with no action/resolution: https://sourceforge.net/p/openocd/mailman/openocd-devel/thread/20200707144105.180F3819F79D%40turkos.aspodata.se/#msg37055434 * This RISC-V OpenOCD fork isue: https://github.com/riscv/riscv-openocd/issues/771 I can identify potential point fixes/workarounds by changing the code but am not sure what the "correct" and safest one would be. --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.