Skip to content

Commit 8a3b9cc

Browse files
committed
Reverted -Wall
the current Arduino platform has warnings disabled by default. There are ongoing development upstream to implement all-warning from preferences.
1 parent 0047704 commit 8a3b9cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ version=1.8.0
1111

1212
compiler.path={runtime.ide.path}/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/
1313
compiler.c.cmd=arm-none-eabi-gcc
14-
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g -Os -Wall -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500
14+
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g -Os -W -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500
1515
compiler.c.elf.cmd=arm-none-eabi-gcc
1616
compiler.c.elf.flags=-Os -Wl,--gc-sections -save-temps
1717
compiler.S.flags=-c -g -x assembler-with-cpp
1818
compiler.cpp.cmd=arm-none-eabi-g++
19-
compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g -Os -Wall -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions
19+
compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g -Os -W -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions
2020
compiler.ar.cmd=arm-none-eabi-ar
2121
compiler.ar.flags=rcs
2222
compiler.objcopy.cmd=arm-none-eabi-objcopy

0 commit comments

Comments
 (0)