Skip to content

Commit 7635de9

Browse files
committed
Enable warning for "double" type promotion
1 parent a4b12fe commit 7635de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ compiler.stm.extra_include="-I{build.source.path}" "-I{build.core.path}/avr" "-I
1616
compiler.warning_flags=-w
1717
compiler.warning_flags.none=-w
1818
compiler.warning_flags.default=
19-
compiler.warning_flags.more=-Wall
19+
compiler.warning_flags.more=-Wall -Wdouble-promotion
2020
compiler.warning_flags.all=-Wall -Wextra -Wdouble-promotion
2121

2222
compiler.path={runtime.tools.arm-none-eabi-gcc-6-2017-q2-update.path}/bin/

0 commit comments

Comments
 (0)