BimmerBass / Loki

C++17 chess engine
GNU General Public License v3.0
9 stars 2 forks source link

Does not compile with macOS (clang++) #37

Open Lecrapouille opened 1 year ago

Lecrapouille commented 1 year ago
022-11-08T22:41:57.9838790Z g++ Loki/bench.cpp Loki/bitboard.cpp Loki/evaltable.cpp Loki/evaluation.cpp Loki/magics.cpp Loki/main.cpp Loki/misc.cpp Loki/move.cpp Loki/movegen.cpp Loki/movestager.cpp Loki/perft.cpp Loki/position.cpp Loki/psqt.cpp Loki/search.cpp Loki/see.cpp Loki/thread.cpp Loki/transposition.cpp Loki/tt_entry.cpp Loki/uci.cpp Loki/texel.cpp -lm -lpthread -o Loki3 -std=c++17 -lstdc++ -march=native -O3 -DUSE_POPCNT -DIS_64BIT -m64 -DNDEBUG
2022-11-08T22:42:00.6653170Z In file included from Loki/bench.cpp:18:
2022-11-08T22:42:00.6653930Z In file included from Loki/bench.h:20:
2022-11-08T22:42:00.6655130Z In file included from Loki/search.h:22:
2022-11-08T22:42:00.6655960Z In file included from Loki/movestager.h:20:
2022-11-08T22:42:00.6676450Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:00.6741230Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:00.6782170Z                                            ^
2022-11-08T22:42:00.6783630Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:00.6784730Z                 const EvalData ZeroData;
2022-11-08T22:42:00.6785410Z                                ^
2022-11-08T22:42:00.7739190Z 1 error generated.
2022-11-08T22:42:03.3951270Z Loki/evaluation.cpp:813:19: error: call to implicitly-deleted default constructor of 'Evaluate<NORMAL>'
2022-11-08T22:42:03.3963890Z         Evaluate<NORMAL> eval;
2022-11-08T22:42:03.3969350Z                          ^
2022-11-08T22:42:03.3996390Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:03.4026280Z                 const EvalData ZeroData;
2022-11-08T22:42:03.4052680Z                                ^
2022-11-08T22:42:03.5576190Z 1 error generated.
2022-11-08T22:42:05.7665620Z In file included from Loki/main.cpp:18:
2022-11-08T22:42:05.7670090Z In file included from Loki/texel.h:21:
2022-11-08T22:42:05.7672700Z In file included from Loki/uci.h:20:
2022-11-08T22:42:05.7673440Z In file included from Loki/search.h:22:
2022-11-08T22:42:05.7674020Z In file included from Loki/movestager.h:20:
2022-11-08T22:42:05.7675900Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:05.7676660Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:05.7685220Z                                            ^
2022-11-08T22:42:05.7686530Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:05.7688110Z                 const EvalData ZeroData;
2022-11-08T22:42:05.7692220Z                                ^
2022-11-08T22:42:06.2660230Z 1 error generated.
2022-11-08T22:42:10.2904230Z In file included from Loki/movestager.cpp:18:
2022-11-08T22:42:10.2913680Z In file included from Loki/movestager.h:20:
2022-11-08T22:42:10.2915060Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:10.3015480Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:10.3116980Z                                            ^
2022-11-08T22:42:10.3218120Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:10.3239970Z                 const EvalData ZeroData;
2022-11-08T22:42:10.3240660Z                                ^
2022-11-08T22:42:10.3534410Z 1 error generated.
2022-11-08T22:42:16.8352640Z In file included from Loki/search.cpp:18:
2022-11-08T22:42:16.8382090Z In file included from Loki/search.h:22:
2022-11-08T22:42:16.8383230Z In file included from Loki/movestager.h:20:
2022-11-08T22:42:16.8384640Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:16.8385470Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:16.8388840Z                                            ^
2022-11-08T22:42:16.8389860Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:16.8392560Z                 const EvalData ZeroData;
2022-11-08T22:42:16.8399710Z                                ^
2022-11-08T22:42:16.9913210Z 1 error generated.
2022-11-08T22:42:18.8373570Z In file included from Loki/thread.cpp:18:
2022-11-08T22:42:18.8416110Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:18.8517670Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:18.8518220Z                                            ^
2022-11-08T22:42:18.8620090Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:18.8719880Z                 const EvalData ZeroData;
2022-11-08T22:42:18.8821050Z                                ^
2022-11-08T22:42:18.8882260Z 1 error generated.
2022-11-08T22:42:20.7972680Z Loki/tt_entry.cpp:50:12: warning: implicit truncation from 'ttFlag' to bit-field changes value from 3 to -1 [-Wbitfield-constant-conversion]
2022-11-08T22:42:20.7991390Z         data.flag = NO_FLAG;
2022-11-08T22:42:20.7994280Z                   ^ ~~~~~~~
2022-11-08T22:42:20.9203430Z 1 warning generated.
2022-11-08T22:42:21.8764030Z In file included from Loki/uci.cpp:18:
2022-11-08T22:42:21.8865100Z In file included from Loki/uci.h:20:
2022-11-08T22:42:21.8939770Z In file included from Loki/search.h:22:
2022-11-08T22:42:21.8943400Z In file included from Loki/movestager.h:20:
2022-11-08T22:42:21.9045030Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:21.9104280Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:21.9149910Z                                            ^
2022-11-08T22:42:21.9188180Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:21.9260010Z                 const EvalData ZeroData;
2022-11-08T22:42:21.9274120Z                                ^
2022-11-08T22:42:22.2872120Z 1 error generated.
2022-11-08T22:42:23.4299060Z In file included from Loki/texel.cpp:18:
2022-11-08T22:42:23.4308730Z In file included from Loki/texel.h:21:
2022-11-08T22:42:23.4317480Z In file included from Loki/uci.h:20:
2022-11-08T22:42:23.4318440Z In file included from Loki/search.h:22:
2022-11-08T22:42:23.4319120Z In file included from Loki/movestager.h:20:
2022-11-08T22:42:23.4332200Z Loki/thread.h:87:37: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:23.4333120Z         Eval::Evaluate<NORMAL>* eval = new Eval::Evaluate<NORMAL>;
2022-11-08T22:42:23.4333830Z                                            ^
2022-11-08T22:42:23.4335440Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:23.4338530Z                 const EvalData ZeroData;
2022-11-08T22:42:23.4339440Z                                ^
2022-11-08T22:42:23.8025690Z Loki/texel.cpp:88:18: error: call to implicitly-deleted default constructor of 'Eval::Evaluate<NORMAL>'
2022-11-08T22:42:23.8031750Z                 Eval::Evaluate eval;
2022-11-08T22:42:23.8033470Z                                ^
2022-11-08T22:42:23.8070960Z Loki/evaluation.h:91:18: note: default constructor of 'Evaluate<NORMAL>' is implicitly deleted because field 'ZeroData' of const-qualified type 'const Eval::Evaluate<NORMAL>::EvalData' would not be initialized
2022-11-08T22:42:23.8098950Z                 const EvalData ZeroData;
2022-11-08T22:42:23.8099780Z                                ^
2022-11-08T22:42:24.0779800Z 2 errors generated.
2022-11-08T22:42:24.0881210Z make[1]: *** [all] Error 1