From bad640fd27a74e0bf85f8b76366a3bb3bb083602 Mon Sep 17 00:00:00 2001 From: "tridge60@gmail.com" Date: Mon, 2 May 2011 05:50:13 +0000 Subject: [PATCH] added a few more warning flags for when building with the Makefile git-svn-id: https://arducopter.googlecode.com/svn/trunk@2070 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Common/Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Common/Arduino.mk b/libraries/AP_Common/Arduino.mk index 6f5e956dfa..148889e4c5 100644 --- a/libraries/AP_Common/Arduino.mk +++ b/libraries/AP_Common/Arduino.mk @@ -159,7 +159,7 @@ endif # Tool options # DEFINES = -DF_CPU=$(F_CPU) -DARDUINO=$(ARDUINO_VERS) -OPTFLAGS = -Os -Wformat +OPTFLAGS = -Os -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wformat=2 DEPFLAGS = -MD -MT $@ # XXX warning options TBD