removing -w from CPPFLAGS (warnings can be usefull)

This commit is contained in:
gabriel 2012-11-06 14:33:10 +01:00
parent 99890b2535
commit 1e078625cb

View file

@ -650,7 +650,7 @@ USER_LIB_OBJS = $(patsubst $(USER_LIB_PATH)/%.cpp,$(OBJDIR)/libs/%.o,$(USER_LIB_
# Using += instead of =, so that CPPFLAGS can be set per sketch level
CPPFLAGS += -mmcu=$(MCU) -DF_CPU=$(F_CPU) -DARDUINO=$(ARDUINO_VERSION) \
-I. -I$(ARDUINO_CORE_PATH) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \
$(SYS_INCLUDES) $(USER_INCLUDES) -g -Os -w -Wall \
$(SYS_INCLUDES) $(USER_INCLUDES) -g -Os -Wall \
-ffunction-sections -fdata-sections
CFLAGS += -std=gnu99
CXXFLAGS += -fno-exceptions