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 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
arch.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
cpu.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpu.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpuall.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
decode.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
decode.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
iq2000.c sim/iq2000: silence pointer-sign warnings 2022-10-19 14:32:22 +01:00
local.mk Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.in sim/iq2000: silence pointer-sign warnings 2022-10-19 14:32:22 +01:00
mloop.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
model.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sem-switch.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sem.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sim-if.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sim-main.h sim: iq2000: fix some missing prototypes warnings 2021-11-16 00:49:13 -05:00