altos: Add -Wconversion
[fw/altos] / src / Makefile.defs
index a14b8042f9516708113b25a12bbf446d13185f09..d9b719973da61e5c52fabe871d8b3111318b7630 100644 (file)
@@ -16,12 +16,11 @@ WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \
        -Wmissing-declarations \
        -Wnested-externs \
        -Wshadow \
-       -Warray-bounds=2
+       -Warray-bounds=2 \
+       -Wconversion
 
 OPT=-Os -Wl,-Map=$(PROGNAME)-$(VERSION).map
 
-PICOLIBC_PRINTF_CFLAGS = -DPICOLIBC_INTEGER_PRINTF_SCANF
-
 PICOLIBC_CFLAGS= \
        -specs=picolibc.specs \
        $(PICOLIBC_PRINTF_CFLAGS)