Skip to content

Commit

Permalink
Merge pull request #315 from adafruit/add-Werror=return-type
Browse files Browse the repository at this point in the history
add -Werror=return-type for all warning options
  • Loading branch information
hathach authored Jan 6, 2022
2 parents a8c4b4d + bac2839 commit 9785217
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ version=1.7.5
# Compile variables
# -----------------

compiler.warning_flags=-w
compiler.warning_flags.none=-w
compiler.warning_flags.default=
compiler.warning_flags.more=-Wall -Wno-expansion-to-defined
compiler.warning_flags.all=-Wall -Wextra -Wno-expansion-to-defined
compiler.warning_flags=-Werror=return-type
compiler.warning_flags.none=-Werror=return-type
compiler.warning_flags.default=-Werror=return-type
compiler.warning_flags.more=-Wall -Werror=return-type -Wno-expansion-to-defined
compiler.warning_flags.all=-Wall -Wextra -Werror=return-type -Wno-expansion-to-defined

compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
compiler.c.cmd=arm-none-eabi-gcc
Expand Down

0 comments on commit 9785217

Please sign in to comment.