From 22cb35e9f6e5fa1bfdb8ceb359d6d243c10dde8e Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sat, 17 Nov 2007 10:11:58 +0000 Subject: [PATCH] Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings --- cpu/msp430/Makefile.msp430 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/msp430/Makefile.msp430 b/cpu/msp430/Makefile.msp430 index 2fe3bd542..95c0ad713 100644 --- a/cpu/msp430/Makefile.msp430 +++ b/cpu/msp430/Makefile.msp430 @@ -1,4 +1,4 @@ -# $Id: Makefile.msp430,v 1.19 2007/11/06 20:35:42 adamdunkels Exp $ +# $Id: Makefile.msp430,v 1.20 2007/11/17 10:11:58 adamdunkels Exp $ ifdef nodeid CFLAGS += -DNODEID=$(nodeid) @@ -39,7 +39,7 @@ NM = msp430-nm OBJCOPY = msp430-objcopy STRIP = msp430-strip BSL = msp430-bsl -CFLAGSNO = -Wall -mmcu=$(MCU) -g +CFLAGSNO = -Wall -Werror -mmcu=$(MCU) -g CFLAGS += $(CFLAGSNO) -Os LDFLAGS += -mmcu=$(MCU) -Wl,-Map=contiki-$(TARGET).map