This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit e70bff723b5e2eecb741f43bb2ecc5a220d3bf8c Author: Xiang Xiao <[email protected]> AuthorDate: Wed Nov 11 21:19:16 2020 +0800 board/sim: Remove the too strict warning The variable shadow is a frequently-used feature (especially in c++), so let's disable this warning Signed-off-by: Xiang Xiao <[email protected]> --- boards/sim/sim/sim/scripts/Make.defs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/sim/sim/sim/scripts/Make.defs b/boards/sim/sim/sim/scripts/Make.defs index 68b407d..f7dc836 100644 --- a/boards/sim/sim/sim/scripts/Make.defs +++ b/boards/sim/sim/sim/scripts/Make.defs @@ -59,8 +59,8 @@ ifeq ($(CONFIG_CXX_EXCEPTION),) ARCHCPUFLAGSXX += -fno-exceptions endif ARCHPICFLAGS = -fpic -ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef -ARCHWARNINGSXX = -Wall -Wshadow -Wundef +ARCHWARNINGS = -Wstrict-prototypes -Wundef +ARCHWARNINGSXX = -Wundef # Add -fvisibility=hidden # Because we don't want export nuttx's symbols to share libraries
