File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
161
161
--fqbn " $currfqbn " \
162
162
--board-options " $curroptions " \
163
163
--warnings " all" \
164
+ --build-property " compiler.warning_flags.all=-Wall -Werror=all -Wextra" \
164
165
--build-cache-path " $ARDUINO_CACHE_DIR " \
165
166
--build-path " $build_dir " \
166
167
$xtra_opts " ${sketchdir} "
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ compiler.optimization_flags.debug=-Og -g3
41
41
compiler.warning_flags=-w
42
42
compiler.warning_flags.none=-w
43
43
compiler.warning_flags.default=
44
- compiler.warning_flags.more=-Wall -Werror=all
45
- compiler.warning_flags.all=-Wall -Werror=all - Wextra
44
+ compiler.warning_flags.more=-Wall
45
+ compiler.warning_flags.all=-Wall -Wextra
46
46
47
47
# Compile Flags
48
48
compiler.cpreprocessor.flags="@{compiler.sdk.path}/flags/defines" "-I{build.source.path}" -iprefix "{compiler.sdk.path}/include/" "@{compiler.sdk.path}/flags/includes" "-I{compiler.sdk.path}/{build.memory_type}/include"
You can’t perform that action at this time.
0 commit comments