mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Use exceptions to stop the search
Instead of classical flags, throw an exception when we want to immediately halt the search. Currently only one type is used for both UCI stop and threads cut off. No functional change.
This commit is contained in:
+1
-1
@@ -232,7 +232,7 @@ ifeq ($(COMP),clang)
|
||||
endif
|
||||
|
||||
### 3.2 General compiler settings
|
||||
CXXFLAGS = -Wall -Wcast-qual -fno-exceptions -fno-rtti $(EXTRACXXFLAGS)
|
||||
CXXFLAGS = -Wall -Wcast-qual -fno-rtti $(EXTRACXXFLAGS)
|
||||
|
||||
ifeq ($(comp),gcc)
|
||||
CXXFLAGS += -ansi -pedantic -Wno-long-long -Wextra -Wshadow
|
||||
|
||||
Reference in New Issue
Block a user