Andrzej,

please send such reports to openocd-devel mailing list.

Please test http://openocd.zylin.com/6256

Tom

On 17/05/2021 15:20, asier70 wrote:
Hi,

Today I compiled the newest openocd (under ubuntu on windows10). There is error:

src/target/armv7m.c: In function ‘armv7m_read_core_reg’:
src/target/armv7m.c:333:16: error: ‘reg32_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  333 |   unsigned int reg32_id;
      |                ^~~~~~~~
src/target/armv7m.c: In function ‘armv7m_write_core_reg’:
src/target/armv7m.c:398:16: error: ‘reg32_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  398 |   unsigned int reg32_id;
      |                ^~~~~~~~
cc1: all warnings being treated as errors



I've found that you add this variable to armv7m.c at
http://openocd.zylin.com/#/c/5863/ <http://openocd.zylin.com/#/c/5863/>
so I'm writting about it directly to you :)

Nice day
Andrzej Sierżęga



Reply via email to