mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Add missing header file to make stockfish compile with latest Inter C++ Compiler under Linux (memcpy needs cstring)
Correct some references glaurung -> stockfish in Makefile Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
2acc89c6e8
commit
f98385e129
@@ -37,7 +37,7 @@ OBJS = bitboard.o pawns.o material.o endgame.o evaluate.o main.o \
|
|||||||
all: $(EXE) .depend
|
all: $(EXE) .depend
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) *.o .depend glaurung
|
$(RM) *.o .depend stockfish
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
@@ -94,7 +94,7 @@ CXXFLAGS += -wd383,869,981
|
|||||||
# Profiler guided optimization with the Intel C++ compiler. To use it, first
|
# Profiler guided optimization with the Intel C++ compiler. To use it, first
|
||||||
# create the directory ./profdata if it does not already exist, and delete its
|
# create the directory ./profdata if it does not already exist, and delete its
|
||||||
# contents if it does exist. Then compile with -prof_gen, and run the
|
# contents if it does exist. Then compile with -prof_gen, and run the
|
||||||
# resulting binary for a while (for instance, do ./glaurung bench 128 1, and
|
# resulting binary for a while (for instance, do ./stockfish bench 128 1, and
|
||||||
# wait 15 minutes for the benchmark to complete). Then do a 'make clean', and
|
# wait 15 minutes for the benchmark to complete). Then do a 'make clean', and
|
||||||
# recompile with -prof_use.
|
# recompile with -prof_use.
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
////
|
////
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
#include <cstring>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|||||||
Reference in New Issue
Block a user