mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Increase warning level
Both under gcc and icc: sf compiles with no warnings ! Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+5
-1
@@ -219,7 +219,11 @@ ifeq ($(COMP),icc)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
### 3.2 General compiler settings
|
### 3.2 General compiler settings
|
||||||
CXXFLAGS = -g -Wall -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
|
CXXFLAGS = -g -Wall -Wcast-qual -ansi -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
|
||||||
|
|
||||||
|
ifeq ($(comp),gcc)
|
||||||
|
CXXFLAGS += -pedantic -Wno-long-long -Wextra
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(comp),icc)
|
ifeq ($(comp),icc)
|
||||||
CXXFLAGS += -wd383,869,981,10187,10188,11505,11503
|
CXXFLAGS += -wd383,869,981,10187,10188,11505,11503
|
||||||
|
|||||||
Reference in New Issue
Block a user