mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
Add -Wconditional-uninitialized when using Clang
Add -Wconditional-uninitialized as it is not controlled by -Wall. closes https://github.com/official-stockfish/Stockfish/pull/4371 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
0827e00f10
commit
7fc0f589d6
+2
-1
@@ -426,7 +426,8 @@ ifeq ($(COMP),clang)
|
|||||||
CXX=x86_64-w64-mingw32-clang++
|
CXX=x86_64-w64-mingw32-clang++
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CXXFLAGS += -pedantic -Wextra -Wshadow -Wmissing-prototypes
|
CXXFLAGS += -pedantic -Wextra -Wshadow -Wmissing-prototypes \
|
||||||
|
-Wconditional-uninitialized
|
||||||
|
|
||||||
ifeq ($(filter $(KERNEL),Darwin OpenBSD FreeBSD),)
|
ifeq ($(filter $(KERNEL),Darwin OpenBSD FreeBSD),)
|
||||||
ifeq ($(target_windows),)
|
ifeq ($(target_windows),)
|
||||||
|
|||||||
Reference in New Issue
Block a user