From 96ebe737fc9d01f1fadf80e4b077a6babbe1717c Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 7 Aug 2023 23:17:29 +0700 Subject: [PATCH] rp2040 re-enable -wshadow --- hw/bsp/family_support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake index 7c89427c0..56c58457c 100644 --- a/hw/bsp/family_support.cmake +++ b/hw/bsp/family_support.cmake @@ -306,7 +306,7 @@ function(family_add_default_example_warnings TARGET) -Wdouble-promotion -Wfloat-equal # FIXME commented out because of https://github.com/raspberrypi/pico-sdk/issues/1468 - #-Wshadow + -Wshadow -Wwrite-strings -Wsign-compare -Wmissing-format-attribute