- **status**: new --> closed
- **assigned_to**: Antonio Borneo
- **Resolution**:  --> https://review.openocd.org/7403/
- **Comment**:

Merged



---

** [tickets:#376] configure --enable-verbose triggers compilation error in 
arm-jtag-ew.c & opendous.c **

**Status:** closed
**Milestone:** 0.10.0
**Created:** Sat Dec 17, 2022 06:00 PM UTC by Tommy Murphy
**Last Updated:** Sat Dec 17, 2022 11:20 PM UTC
**Owner:** Antonio Borneo


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.


Reply via email to