clang++ -std=c++20 -O3 -flto -DNDEBUG -march=native -fuse-ld=lld src/*.cpp -o Tarnished-2C097F5D.exe
src\main.cpp:100:18: warning: 'strtok' is deprecated: This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
100 | char *move = strtok(str, " ");
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:435:16: note: 'strtok' has been explicitly marked deprecated here
435 | _Check_return_ _CRT_INSECURE_DEPRECATE(strtok_s)
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
355 | #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
src\main.cpp:101:20: warning: 'strtok' is deprecated: This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
101 | while ((move = strtok(NULL, " "))) {
| ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h:435:16: note: 'strtok' has been explicitly marked deprecated here
435 | _Check_return_ _CRT_INSECURE_DEPRECATE(strtok_s)
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:355:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
355 | #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \
| ^
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33617\include\vcruntime.h:345:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
345 | #define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
| ^
error: expected absolute expression
.type gEVALData, @object
^
error: expected absolute expression
.type gEVALEnd, @object
^
error: expected absolute expression
.type gEVALSize, @object
^
error: expected absolute expression
.type gEVALData, @object
^
error: expected absolute expression
.type gEVALEnd, @object
^
error: expected absolute expression
.type gEVALSize, @object
^
2 warnings generated.
src\nnue.cpp:44:11: warning: Using AVX2 NNUE inference [-W#pragma-messages]
44 | #pragma message("Using AVX2 NNUE inference")
| ^
1 warning generated.
lld-link: error: undefined symbol: gEVALData
>>> referenced by src\main.cpp
>>> C:\Users\liamt\AppData\Local\Temp\main-c07d33.o
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:20: Tarnished-2C097F5D.exe] Error 1