mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 12:08:16 +00:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue