Skip to content

Commit f471354

Browse files
committed
Scope compiler warning flags to project source and add stricter checks
Signed-off-by: Javier Balloffet <javier.balloffet@gmail.com>
1 parent 3da85f7 commit f471354

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

andino_firmware/platformio.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ default_envs = uno, nanoatmega328
1515
[base_build]
1616
build_flags =
1717
-I include
18+
build_src_flags =
1819
-Wall -Wextra
1920
-Wshadow
2021
-Wdouble-promotion
22+
-Woverloaded-virtual
23+
-Wcast-qual
24+
-Wuseless-cast
25+
-Wnull-dereference
26+
-Werror
2127
check_tool = cppcheck
2228
check_skip_packages = yes
2329
check_flags =

0 commit comments

Comments
 (0)