binutils-gdb/sim/iq2000
Andrew Burgess feab6abfe2 sim/iq2000: silence pointer-sign warnings
When building the iq2000 simulator I see a few warnings like this:

  /tmp/build/sim/../../src/sim/iq2000/iq2000.c: In function ‘fetch_str’:
  /tmp/build/sim/../../src/sim/iq2000/iq2000.c:50:54: error: pointer targets in passing argument 3 of ‘sim_read’ differ in signedness [-Werror=pointer-sign]
     50 |   sim_read (CPU_STATE (current_cpu), CPU2DATA(addr), buf, nr);
        |                                                      ^~~
        |                                                      |
        |                                                      char *

I've silenced these warnings by casting buf to 'unsigned char *'.
With this change I now see no warnings when compiling iq2000.c, so
I've removed the line from Makefile.in that disables -Werror.

Makefile.in was also disabling -Werror when compiling mloop.c,
however, I'm not seeing any warnings when compiling that file, so I've
removed the -Werror disable in that case too.
2022-10-19 14:32:22 +01:00
..
arch.c
arch.h
ChangeLog-2021
cpu.c
cpu.h
cpuall.h
decode.c
decode.h
iq2000.c
local.mk
Makefile.in
mloop.in
model.c
sem-switch.c
sem.c
sim-if.c
sim-main.h