From 03a84a272ad00895d888bf324c16893685400b00 Mon Sep 17 00:00:00 2001 From: Stefan Dorn Date: Sun, 12 Jun 2016 03:10:33 +0100 Subject: [PATCH] -Werror --- src/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile b/src/makefile index 086e44a..792991f 100644 --- a/src/makefile +++ b/src/makefile @@ -6,7 +6,7 @@ CFLAGS := -mmcu=atmega32u4 # processor type (teensy 2.0); must match real lif CFLAGS += -DF_CPU=16000000 # processor frequency; must match initialization in source CFLAGS += -std=gnu99 # use C99 plus GCC extensions CFLAGS += -Os # optimize for size -CFLAGS += -Wall # enable lots of common warnings +CFLAGS += -Wall -Werror # enable lots of common warnings CFLAGS += -fpack-struct # pack all structure members together without holes CFLAGS += -fshort-enums # allocate compact enums CFLAGS += -ffunction-sections # \ place each function or data into its own