binutils-gdb/sim/m32c
Simon Marchi 1f195bc327 sim: use -Werror when probing for supported warning flags
When building with clang, we get:

    error: unknown warning option '-Wmissing-parameter-type' [-Werror,-Wunknown-warning-option]

This is because clang only warns by default when encountering an unknown
warning option, and the probe for supported warning flags is done
without -Werror.  All flags are therefore accepted by configure, but
then it breaks when actually compiling a source file with -Werror.

This is equivalent to this commit in gdb:

    3e019bdc20
    gdb: Use -Werror when checking for (un)supported warning flags

We then see some other compilation errors when building with clang and
-Werror, they can be dealt with later.
2021-04-21 19:48:35 -04:00
..
aclocal.m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ChangeLog sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
config.in sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
configure sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
configure.ac sim: switch to AC_CHECK_HEADERS_ONCE 2021-04-18 23:53:01 -04:00
cpu.h
gdb-if.c sim: erc32/m32c/rl78: add sim_memory_map stub for gdb 2021-02-06 12:15:34 -05:00
int.c
int.h
load.c
load.h
m32c.opc
main.c
Makefile.in sim: m32c: switch syscalls to common nltvals 2021-04-18 23:01:08 -04:00
mem.c
mem.h
misc.c
misc.h
opc2c.c sim: m32c: opc2c: remove unused vlist variable 2021-04-07 07:41:33 -04:00
r8c.opc
reg.c
safe-fgets.c
safe-fgets.h
srcdest.c
syscalls.c sim: m32c: switch syscalls to common nltvals 2021-04-18 23:01:08 -04:00
syscalls.h
timer_a.h
trace.c
trace.h