summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/romcc/Makefile2
-rw-r--r--util/romcc/romcc.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/util/romcc/Makefile b/util/romcc/Makefile
index 6543fbb3b7..8242eb5668 100644
--- a/util/romcc/Makefile
+++ b/util/romcc/Makefile
@@ -1,7 +1,7 @@
# Move the configuration defines to makefile.conf
CC=gcc
CPPFLAGS=
-CFLAGS= -g -Wall $(CPPFLAGS)
+CFLAGS= -g -Wall -Werror $(CPPFLAGS)
CPROF_FLAGS=-pg -fprofile-arcs
all: romcc test
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index c7ef223667..1a939fb807 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -9160,10 +9160,6 @@ static struct triple *decompose_index(struct compile_state *state,
static void decompose_compound_types(struct compile_state *state)
{
struct triple *ins, *next, *first;
-#if DEBUG_DECOMPOSE_HIRES
- FILE *fp;
- fp = state->dbgout;
-#endif
first = state->first;
ins = first;