diff options
author | PaulStoffregen <paul@pjrc.com> | 2018-08-31 05:06:13 -0700 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2018-09-03 17:26:35 +0200 |
commit | 1db33d24b7ae99e71b9843bc6301f5b932df2aa3 (patch) | |
tree | 709e59aded07271e9c8cfa50a760a1375c86cd50 /platform.txt | |
parent | b7c607663fecc232e598f2c0acf419ceb0b7078c (diff) |
Treat narrowing conversion as warning, not error
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |