File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
148148 --fqbn " $currfqbn " \
149149 --board-options " $curroptions " \
150150 --warnings " all" \
151+ --build-property " compiler.warning_flags.all=-Wall -Werror=all -Wextra" \
151152 --build-cache-path " $ARDUINO_CACHE_DIR " \
152153 --build-path " $build_dir " \
153154 $xtra_opts " ${sketchdir} "
Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ compiler.size.cmd={compiler.prefix}size
118118compiler.warning_flags=-w
119119compiler.warning_flags.none=-w
120120compiler.warning_flags.default=
121- compiler.warning_flags.more=-Wall -Werror=all
122- compiler.warning_flags.all=-Wall -Werror=all - Wextra
121+ compiler.warning_flags.more=-Wall
122+ compiler.warning_flags.all=-Wall -Wextra
123123
124124# These can be overridden in platform.local.txt
125125compiler.c.extra_flags=
You can’t perform that action at this time.
0 commit comments