Source-X/src/common/sphere_library/sobjpool.h:359:34: error: field 'm_fallbackObjsCount' has incomplete type 'std::atomic<unsigned int>'
359 | mutable std::atomic<index_t> m_fallbackObjsCount;
Source-X/src/sphere/threads.cpp:411:9: error: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'SetThreadDescription_t' {aka 'long int (*)(void*, const wchar_t*)'} [-Werror=cast-function-type]
411 | reinterpret_cast<SetThreadDescription_t>(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
412 | GetProcAddress(GetModuleHandleW(L"Kernel32.dll"), "SetThreadDescription"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The https://github.com/Sphereserver/Source-X/blob/master/src/common/sphere_library/sobjpool.h needs to
#include <atomic>due toAnother issue is in
os_set_thread_name_portablein https://github.com/Sphereserver/Source-X/blob/master/src/sphere/threads.cpp