Revert "board/sim: Remove the too strict warning"
This reverts commit e70bff723b
.
* These warnings sometimes find real bugs. There are ways to disable
the specific warnings for the specific code (eg. libcxx) selectively.
* It doesn't make much sense to disable these warnings only on sim.
There are many boards with -Wall -Wshadow. Because the sim is
mainly for development and testing, it should be less forgiving
than real boards.
This commit is contained in:
parent
080b2dfceb
commit
374d05a05a
@ -59,8 +59,8 @@ ifeq ($(CONFIG_CXX_EXCEPTION),)
|
||||
ARCHCPUFLAGSXX += -fno-exceptions -fcheck-new
|
||||
endif
|
||||
ARCHPICFLAGS = -fpic
|
||||
ARCHWARNINGS = -Wstrict-prototypes -Wundef
|
||||
ARCHWARNINGSXX = -Wundef
|
||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow -Wundef
|
||||
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
|
||||
|
||||
# Add -fvisibility=hidden
|
||||
# Because we don't want export nuttx's symbols to share libraries
|
||||
|
Loading…
Reference in New Issue
Block a user