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 <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3ccbcf3c28
commit
e70bff723b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user