binutils-gdb/sim/bpf
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
arch.c
arch.h
bpf-helpers.c
bpf-helpers.def
bpf-helpers.h
bpf-sim.h
bpf.c
ChangeLog sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
config.in
configure sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
configure.ac
cpu.c
cpu.h
cpuall.h
decode-be.c
decode-be.h
decode-le.c
decode-le.h
decode.h
defs-be.h
defs-le.h
eng.h
Makefile.in
mloop.in
sem-be.c
sem-le.c
sim-if.c sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code 2021-04-12 00:14:32 -04:00
sim-main.h
traps.c