From 91b350663731f3450a8b50d050d5c02b503636a5 Mon Sep 17 00:00:00 2001 From: Wenn0101 Date: Thu, 7 Jan 2021 06:51:57 -0700 Subject: [PATCH] add warning flags to blocklist so that arduino core is in charge of setting its own warning, allow mmd thru --- tools/config/blocklist.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tools/config/blocklist.json b/tools/config/blocklist.json index da5ebe22..323ba5e7 100644 --- a/tools/config/blocklist.json +++ b/tools/config/blocklist.json @@ -12,7 +12,20 @@ }, "cxx": { "flags": [ - "-MMD" + "-Wvla" + "-Wall" + "-Wextra" + "-Wno-missing-field-initializers" + "-Wno-unused-parameter" + ] + } + "c": { + "flags": [ + "-Wvla" + "-Wall" + "-Wextra" + "-Wno-missing-field-initializers" + "-Wno-unused-parameter" ] } }