mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Retire -Wno-long-long
long long is part of the C++11 standard. No functional change. Resolves #364
This commit is contained in:
@@ -151,7 +151,7 @@ endif
|
|||||||
ifeq ($(COMP),gcc)
|
ifeq ($(COMP),gcc)
|
||||||
comp=gcc
|
comp=gcc
|
||||||
CXX=g++
|
CXX=g++
|
||||||
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
|
CXXFLAGS += -pedantic -Wextra -Wshadow
|
||||||
ifneq ($(UNAME),Darwin)
|
ifneq ($(UNAME),Darwin)
|
||||||
LDFLAGS += -Wl,--no-as-needed
|
LDFLAGS += -Wl,--no-as-needed
|
||||||
endif
|
endif
|
||||||
@@ -173,7 +173,7 @@ endif
|
|||||||
ifeq ($(COMP),clang)
|
ifeq ($(COMP),clang)
|
||||||
comp=clang
|
comp=clang
|
||||||
CXX=clang++
|
CXX=clang++
|
||||||
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
|
CXXFLAGS += -pedantic -Wextra -Wshadow
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
CXXFLAGS += -std=c++0x -stdlib=libc++
|
CXXFLAGS += -std=c++0x -stdlib=libc++
|
||||||
DEPENDFLAGS += -std=c++0x -stdlib=libc++
|
DEPENDFLAGS += -std=c++0x -stdlib=libc++
|
||||||
|
|||||||
Reference in New Issue
Block a user