mirror of https://github.com/ArduPilot/ardupilot
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
This commit is contained in:
parent
a4596e5bdb
commit
bad640fd27
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue