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)
|
||||
comp=gcc
|
||||
CXX=g++
|
||||
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
|
||||
CXXFLAGS += -pedantic -Wextra -Wshadow
|
||||
ifneq ($(UNAME),Darwin)
|
||||
LDFLAGS += -Wl,--no-as-needed
|
||||
endif
|
||||
@@ -173,7 +173,7 @@ endif
|
||||
ifeq ($(COMP),clang)
|
||||
comp=clang
|
||||
CXX=clang++
|
||||
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
|
||||
CXXFLAGS += -pedantic -Wextra -Wshadow
|
||||
ifeq ($(UNAME),Darwin)
|
||||
CXXFLAGS += -std=c++0x -stdlib=libc++
|
||||
DEPENDFLAGS += -std=c++0x -stdlib=libc++
|
||||
|
||||
Reference in New Issue
Block a user