aboutsummaryrefslogtreecommitdiff
path: root/arduino-mk
diff options
context:
space:
mode:
authorSudar <sudar@sudarmuthu.com>2012-12-15 19:35:58 +0530
committerSudar <sudar@sudarmuthu.com>2012-12-15 19:35:58 +0530
commitaddd14030203a0d603709ad1df6ed0fbbd927bc3 (patch)
tree0bb49bf17d1670e362746ddb6ddc3175e085e986 /arduino-mk
parent9ebae306d0604273112f19e1311b9923c6a4af18 (diff)
parent1e078625cbb01370f83e314ce4c5b1d068b121e7 (diff)
Enabled warnings
Diffstat (limited to 'arduino-mk')
-rw-r--r--arduino-mk/Arduino.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk
index 605cbc1..c38a22e 100644
--- a/arduino-mk/Arduino.mk
+++ b/arduino-mk/Arduino.mk
@@ -144,6 +144,7 @@
# 0.10.2 15.xii.2012 Sudar
# - Added sketch size verification. (https://github.com/fornellas)
# - Show original line number for error messages (https://github.com/WizenedEE)
+# - Removed -w from CPPFLAGS to show warnings (https://github.com/gaftech)
#
########################################################################
#
@@ -708,7 +709,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 \
-DUSB_VID=$(USB_VID) -DUSB_PID=$(USB_PID) \
-ffunction-sections -fdata-sections
CFLAGS += -std=gnu99 $(EXTRA_FLAGS) $(EXTRA_CFLAGS)