yamt commented on a change in pull request #2283:
URL: https://github.com/apache/incubator-nuttx/pull/2283#discussion_r531428294
##########
File path: 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
Review comment:
> Yes, it isn't required for libc++, but I have saw other 3rd party
library can't be the warning free with -Wall, and it's hard to disable -Wall by
CFLAGS.
how is it hard to disable?
-Wall is basically a set of -Wxxx. you can disable each of them by -Wno-xxx.
> Do you hit some special issue without -Wall?
no special issue. i just prefer to enable it as it's often useful.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]