From: Tim Newsome Date: Mon, 14 Mar 2016 20:29:53 +0000 (-0700) Subject: Treat warnings as errors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bf3e0b2bfea7234e61213bf0a7354b3f21d2119;p=riscv-isa-sim.git Treat warnings as errors. The code compiles cleanly right now. Let's keep it that way. --- diff --git a/Makefile.in b/Makefile.in index a0f119a..1e71839 100644 --- a/Makefile.in +++ b/Makefile.in @@ -84,9 +84,9 @@ VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled)) CC := @CC@ CXX := @CXX@ -CFLAGS += @CFLAGS@ -DPREFIX=\"$(prefix)\" +CFLAGS += @CFLAGS@ -DPREFIX=\"$(prefix)\" -Werror CPPFLAGS += @CPPFLAGS@ -CXXFLAGS += @CXXFLAGS@ -DPREFIX=\"$(prefix)\" +CXXFLAGS += @CXXFLAGS@ -DPREFIX=\"$(prefix)\" -Werror COMPILE := $(CXX) -fPIC -MMD -MP $(CPPFLAGS) $(CXXFLAGS) \ $(sprojs_include) COMPILE_C := $(CC) -fPIC -MMD -MP $(CPPFLAGS) $(CFLAGS) \