From d2b1df6a9327f558bce9e3f099235e285b1497d0 Mon Sep 17 00:00:00 2001 From: Phil Hord Date: Sat, 5 Apr 2014 21:05:04 -0400 Subject: [PATCH] simulator: Turn off printf format warnings PC-based target emits warnings about printf formats, but there's nothing to be done about them, really. Turn them off for polite builds. --- Makefile-SIM | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile-SIM b/Makefile-SIM index 32719b7..1bfca2b 100644 --- a/Makefile-SIM +++ b/Makefile-SIM @@ -46,7 +46,7 @@ SOURCES := $(filter-out $(subst _sim.c,.c,$(SIM_SOURCES)),$(SOURCES)) $(SIM_SOUR CFLAGS += -g -Wall -Wstrict-prototypes -Wno-format -Os $(DEFS) -std=gnu99 CFLAGS += -funsigned-char -funsigned-bitfields -fshort-enums -I.. -I. -CFLAGS += -DSIMULATOR +CFLAGS += -DSIMULATOR -Wno-format -Wno-format-security # Satisfy all current config chip targets CFLAGS += -D__AVR_ATmega644__ -D__AVR_ATmega644A__ -D__AVR_ATmega644P__