diff options
| author | Sudar <sudar@sudarmuthu.com> | 2012-12-15 19:35:58 +0530 |
|---|---|---|
| committer | Sudar <sudar@sudarmuthu.com> | 2012-12-15 19:35:58 +0530 |
| commit | addd14030203a0d603709ad1df6ed0fbbd927bc3 (patch) | |
| tree | 0bb49bf17d1670e362746ddb6ddc3175e085e986 | |
| parent | 9ebae306d0604273112f19e1311b9923c6a4af18 (diff) | |
| parent | 1e078625cbb01370f83e314ce4c5b1d068b121e7 (diff) | |
Enabled warnings
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | arduino-mk/Arduino.mk | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -119,6 +119,7 @@ The following are the list of changes that I have made or merged in this fork. H ### 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) ## Know Issues - Because of the way the makefile is structured, the configuration parameters gets printed twice. 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) |
