[PATCH 6/6] sim: sh: enable -Werror everywhere

Mike Frysinger vapier@gentoo.org
Sun Nov 7 00:32:54 GMT 2021


With most of the warnings fixed in interp.c, we can enable -Werror
here too now.  There are some -Wmaybe-uninitialized warnings still
lurking that look legitimate, but we don't flag those are fatal,
and I don't have the expertise to dive into each opcode to figure
out the right way to clean them up.
---
 sim/sh/Makefile.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sim/sh/Makefile.in b/sim/sh/Makefile.in
index 4c5b9ad9a0af..e58cd48f1ae2 100644
--- a/sim/sh/Makefile.in
+++ b/sim/sh/Makefile.in
@@ -27,7 +27,4 @@ SIM_OBJS = \
 SIM_EXTRA_LIBS = -lm
 SIM_EXTRA_DEPS = table.c code.c ppi.c
 
-# Some modules don't build cleanly yet.
-interp.o: SIM_WERROR_CFLAGS =
-
 ## COMMON_POST_CONFIG_FRAG
-- 
2.33.0



More information about the Gdb-patches mailing list