Do not use -Wshadow; it is incredibly noisy for protobuf code.
[stockfish] / src / Makefile
index cd79223a7f0b32e8d5f16aa7dc5292043f673eed..1a64e3d0a03603eea11cbe21730077109f494495 100644 (file)
@@ -158,7 +158,7 @@ endif
 ifeq ($(COMP),gcc)
        comp=gcc
        CXX=g++
-       CXXFLAGS += -pedantic -Wextra -Wshadow
+       CXXFLAGS += -pedantic -Wextra
 
        ifeq ($(ARCH),armv7)
                ifeq ($(OS),Android)