From 1db33d24b7ae99e71b9843bc6301f5b932df2aa3 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Fri, 31 Aug 2018 05:06:13 -0700 Subject: Treat narrowing conversion as warning, not error --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform.txt') diff --git a/platform.txt b/platform.txt index f1546a3..0133dcb 100644 --- a/platform.txt +++ b/platform.txt @@ -25,7 +25,7 @@ compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin - compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD compiler.cpp.cmd=avr-g++ -compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto +compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto compiler.ar.cmd=avr-gcc-ar compiler.ar.flags=rcs compiler.objcopy.cmd=avr-objcopy -- cgit v1.2.3-18-g5258