server
server copied to clipboard
🐛 Issue when building with VS2019 and VS2022
I affirm:
- [x] I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
- [x] I have read and understood the Contributing Guide and the Code of Conduct.
- [x] I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.
OS / platform the server is running (if known)
Windows 10
Branch affected by issue
base
Steps to reproduce
Pull a fresh LSB clone, open VS2019 and select the CMAKE file from the clone directory. After build is prepared, start build on x64-Release. The build will start then fail, generating warnings and logged errors (I added my log)
I have also tried to build in VS2022 and encounter the same error.
VS2019:
>------ Build All started: Project: serverTEST, Configuration: x64-Release ------
[1/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\Watcher.cpp.obj
[2/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\DirectorySnapshotDiff.cpp.obj
[3/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\DirectorySnapshot.cpp.obj
[4/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileWatcherGeneric.cpp.obj
[5/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileWatcherCWrapper.cpp.obj
[6/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\Log.cpp.obj
[7/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileWatcherImpl.cpp.obj
[8/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileInfo.cpp.obj
[9/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\String.cpp.obj
[10/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\DirWatcherGeneric.cpp.obj
[11/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\Debug.cpp.obj
[12/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\System.cpp.obj
[13/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileSystem.cpp.obj
[14/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\Mutex.cpp.obj
[15/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\Thread.cpp.obj
[16/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\Watcher.cpp.obj
[17/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\platform\win\SystemImpl.cpp.obj
[18/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\Thread.cpp.obj
[19/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\WatcherGeneric.cpp.obj
[20/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileWatcher.cpp.obj
[21/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\WatcherGeneric.cpp.obj
[22/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\platform\win\MutexImpl.cpp.obj
[23/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\DirectorySnapshotDiff.cpp.obj
[24/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\platform\win\ThreadImpl.cpp.obj
[25/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\platform\win\MutexImpl.cpp.obj
[26/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileWatcherCWrapper.cpp.obj
[27/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\DirectorySnapshot.cpp.obj
[28/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileWatcherGeneric.cpp.obj
[29/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileWatcherImpl.cpp.obj
[30/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\platform\win\SystemImpl.cpp.obj
[31/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\platform\win\FileSystemImpl.cpp.obj
[32/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\Log.cpp.obj
[33/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\platform\win\FileSystemImpl.cpp.obj
[34/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\DirWatcherGeneric.cpp.obj
[35/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\Debug.cpp.obj
[36/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileWatcherWin32.cpp.obj
[37/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileInfo.cpp.obj
[38/493] Building C object ext\wepoll\CMakeFiles\wepoll.dir\wepoll.c.obj
[39/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\platform\win\ThreadImpl.cpp.obj
[40/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\String.cpp.obj
[41/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileWatcher.cpp.obj
[42/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileSystem.cpp.obj
[43/493] Linking C static library ext\wepoll\wepoll.lib
[44/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\System.cpp.obj
[45/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\Mutex.cpp.obj
[46/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\WatcherWin32.cpp.obj
[47/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\version.cpp.obj
[48/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\WatcherWin32.cpp.obj
[49/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw-static.dir\src\efsw\FileWatcherWin32.cpp.obj
[50/493] Linking CXX static library _deps\efsw-build\efsw.lib
[51/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\debug_windows.cpp.obj
[52/493] Linking CXX static library _deps\efsw-build\efsw-static.lib
[53/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\blowfish.cpp.obj
[54/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\md52.cpp.obj
[55/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\vana_time.cpp.obj
[56/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\database.cpp.obj
FAILED: src/login/CMakeFiles/xi_connect.dir/__/common/database.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DASIO_NO_DEPRECATED -DASIO_STANDALONE -DSOL_ALL_SAFETIES_ON=1 -DSOL_DEFAULT_PASS_ON_ERROR=1 -DSOL_NO_CHECK_NUMBER_PRECISION=1 -DSOL_PRINT_ERRORS=0 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -D_WIN32_WINNT=0x0A00 -I..\..\ -I..\..\src -I..\..\src\login -I_deps\fmt-src\include -I_deps\spdlog-src\include -I_deps\recastnavigation-src\Recast\Include -I_deps\recastnavigation-src\Detour\Include -I_deps\fast_obj-src -I_deps\argparse-src\include -I_deps\efsw-src\include -I_deps\efsw-src\src -I_deps\jthread-lite-src\include -I_deps\expected-lite-src\include -I_deps\json-src\include -I..\..\ext\zmq\include\zmq -I..\..\ext\zmq\include\zmq\.. -I..\..\ext\luajit\include -I..\..\ext\luajit\include\.. -I..\..\ext\openssl\include -I..\..\ext\openssl\include\.. -I..\..\ext\concurrentqueue\concurrentqueue -I..\..\ext\mariadb\include -I..\..\ext\mariadbcpp\include -I..\..\ext\sol\include -I_deps\task_system-src\include\task_system -I_deps\cpp-httplib-src -I_deps\pcg-cpp-src\include -I_deps\asio-src\asio\include -I_deps\bcrypt-src\include -I..\..\ext\wepoll /DWIN32 /D_WINDOWS /EHsc -D_CONSOLE -D_MBCS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /Oy- /MP /bigobj /utf-8 /Oi /GL /Gy /TP /Zi /O2 /Ob1 /DNDEBUG -MD /GL /fp:fast /WX /W4 /wd4100 /wd4127 /wd4201 /wd4242 /wd4244 /wd4245 /wd4456 /wd4457 /wd4458 /wd4459 /wd5272 /wd4554 /wd4263 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14905 /w14906 /w14928 /permissive- -std:c++latest /showIncludes /Fosrc\login\CMakeFiles\xi_connect.dir\__\common\database.cpp.obj /Fdsrc\login\CMakeFiles\xi_connect.dir\ /FS -c ..\..\src\common\database.cpp
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): error C2220: the following warning is treated as an error
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): warning C4263: 'bool sql::PreparedStatement::execute(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(43): warning C4263: 'int32_t sql::PreparedStatement::executeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(44): warning C4263: 'int64_t sql::PreparedStatement::executeLargeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(45): warning C4263: 'sql::ResultSet *sql::PreparedStatement::executeQuery(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(46): warning C4263: 'void sql::PreparedStatement::addBatch(void)': member function does not override any base class virtual member function
[57/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\filewatcher.cpp.obj
[58/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\utils.cpp.obj
[59/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\async.cpp.obj
FAILED: src/login/CMakeFiles/xi_connect.dir/__/common/async.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DASIO_NO_DEPRECATED -DASIO_STANDALONE -DSOL_ALL_SAFETIES_ON=1 -DSOL_DEFAULT_PASS_ON_ERROR=1 -DSOL_NO_CHECK_NUMBER_PRECISION=1 -DSOL_PRINT_ERRORS=0 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -D_WIN32_WINNT=0x0A00 -I..\..\ -I..\..\src -I..\..\src\login -I_deps\fmt-src\include -I_deps\spdlog-src\include -I_deps\recastnavigation-src\Recast\Include -I_deps\recastnavigation-src\Detour\Include -I_deps\fast_obj-src -I_deps\argparse-src\include -I_deps\efsw-src\include -I_deps\efsw-src\src -I_deps\jthread-lite-src\include -I_deps\expected-lite-src\include -I_deps\json-src\include -I..\..\ext\zmq\include\zmq -I..\..\ext\zmq\include\zmq\.. -I..\..\ext\luajit\include -I..\..\ext\luajit\include\.. -I..\..\ext\openssl\include -I..\..\ext\openssl\include\.. -I..\..\ext\concurrentqueue\concurrentqueue -I..\..\ext\mariadb\include -I..\..\ext\mariadbcpp\include -I..\..\ext\sol\include -I_deps\task_system-src\include\task_system -I_deps\cpp-httplib-src -I_deps\pcg-cpp-src\include -I_deps\asio-src\asio\include -I_deps\bcrypt-src\include -I..\..\ext\wepoll /DWIN32 /D_WINDOWS /EHsc -D_CONSOLE -D_MBCS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /Oy- /MP /bigobj /utf-8 /Oi /GL /Gy /TP /Zi /O2 /Ob1 /DNDEBUG -MD /GL /fp:fast /WX /W4 /wd4100 /wd4127 /wd4201 /wd4242 /wd4244 /wd4245 /wd4456 /wd4457 /wd4458 /wd4459 /wd5272 /wd4554 /wd4263 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14905 /w14906 /w14928 /permissive- -std:c++latest /showIncludes /Fosrc\login\CMakeFiles\xi_connect.dir\__\common\async.cpp.obj /Fdsrc\login\CMakeFiles\xi_connect.dir\ /FS -c ..\..\src\common\async.cpp
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): error C2220: the following warning is treated as an error
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): warning C4263: 'bool sql::PreparedStatement::execute(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(43): warning C4263: 'int32_t sql::PreparedStatement::executeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(44): warning C4263: 'int64_t sql::PreparedStatement::executeLargeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(45): warning C4263: 'sql::ResultSet *sql::PreparedStatement::executeQuery(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(46): warning C4263: 'void sql::PreparedStatement::addBatch(void)': member function does not override any base class virtual member function
[60/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\taskmgr.cpp.obj
[61/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\logging.cpp.obj
[62/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\timer.cpp.obj
[63/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\watchdog.cpp.obj
[64/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\lua.cpp.obj
[65/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\settings.cpp.obj
[66/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\sql.cpp.obj
FAILED: src/login/CMakeFiles/xi_connect.dir/__/common/sql.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DASIO_NO_DEPRECATED -DASIO_STANDALONE -DSOL_ALL_SAFETIES_ON=1 -DSOL_DEFAULT_PASS_ON_ERROR=1 -DSOL_NO_CHECK_NUMBER_PRECISION=1 -DSOL_PRINT_ERRORS=0 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -D_WIN32_WINNT=0x0A00 -I..\..\ -I..\..\src -I..\..\src\login -I_deps\fmt-src\include -I_deps\spdlog-src\include -I_deps\recastnavigation-src\Recast\Include -I_deps\recastnavigation-src\Detour\Include -I_deps\fast_obj-src -I_deps\argparse-src\include -I_deps\efsw-src\include -I_deps\efsw-src\src -I_deps\jthread-lite-src\include -I_deps\expected-lite-src\include -I_deps\json-src\include -I..\..\ext\zmq\include\zmq -I..\..\ext\zmq\include\zmq\.. -I..\..\ext\luajit\include -I..\..\ext\luajit\include\.. -I..\..\ext\openssl\include -I..\..\ext\openssl\include\.. -I..\..\ext\concurrentqueue\concurrentqueue -I..\..\ext\mariadb\include -I..\..\ext\mariadbcpp\include -I..\..\ext\sol\include -I_deps\task_system-src\include\task_system -I_deps\cpp-httplib-src -I_deps\pcg-cpp-src\include -I_deps\asio-src\asio\include -I_deps\bcrypt-src\include -I..\..\ext\wepoll /DWIN32 /D_WINDOWS /EHsc -D_CONSOLE -D_MBCS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /Oy- /MP /bigobj /utf-8 /Oi /GL /Gy /TP /Zi /O2 /Ob1 /DNDEBUG -MD /GL /fp:fast /WX /W4 /wd4100 /wd4127 /wd4201 /wd4242 /wd4244 /wd4245 /wd4456 /wd4457 /wd4458 /wd4459 /wd5272 /wd4554 /wd4263 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14905 /w14906 /w14928 /permissive- -std:c++latest /showIncludes /Fosrc\login\CMakeFiles\xi_connect.dir\__\common\sql.cpp.obj /Fdsrc\login\CMakeFiles\xi_connect.dir\ /FS -c ..\..\src\common\sql.cpp
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): error C2220: the following warning is treated as an error
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): warning C4263: 'bool sql::PreparedStatement::execute(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(43): warning C4263: 'int32_t sql::PreparedStatement::executeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(44): warning C4263: 'int64_t sql::PreparedStatement::executeLargeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(45): warning C4263: 'sql::ResultSet *sql::PreparedStatement::executeQuery(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(46): warning C4263: 'void sql::PreparedStatement::addBatch(void)': member function does not override any base class virtual member function
[67/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\console_service.cpp.obj
[68/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\zlib.cpp.obj
[69/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\application.cpp.obj
[70/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\__\common\WheatyExceptionReport.cpp.obj
[71/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\auth_session.cpp.obj
FAILED: src/login/CMakeFiles/xi_connect.dir/auth_session.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DASIO_NO_DEPRECATED -DASIO_STANDALONE -DSOL_ALL_SAFETIES_ON=1 -DSOL_DEFAULT_PASS_ON_ERROR=1 -DSOL_NO_CHECK_NUMBER_PRECISION=1 -DSOL_PRINT_ERRORS=0 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -D_WIN32_WINNT=0x0A00 -I..\..\ -I..\..\src -I..\..\src\login -I_deps\fmt-src\include -I_deps\spdlog-src\include -I_deps\recastnavigation-src\Recast\Include -I_deps\recastnavigation-src\Detour\Include -I_deps\fast_obj-src -I_deps\argparse-src\include -I_deps\efsw-src\include -I_deps\efsw-src\src -I_deps\jthread-lite-src\include -I_deps\expected-lite-src\include -I_deps\json-src\include -I..\..\ext\zmq\include\zmq -I..\..\ext\zmq\include\zmq\.. -I..\..\ext\luajit\include -I..\..\ext\luajit\include\.. -I..\..\ext\openssl\include -I..\..\ext\openssl\include\.. -I..\..\ext\concurrentqueue\concurrentqueue -I..\..\ext\mariadb\include -I..\..\ext\mariadbcpp\include -I..\..\ext\sol\include -I_deps\task_system-src\include\task_system -I_deps\cpp-httplib-src -I_deps\pcg-cpp-src\include -I_deps\asio-src\asio\include -I_deps\bcrypt-src\include -I..\..\ext\wepoll /DWIN32 /D_WINDOWS /EHsc -D_CONSOLE -D_MBCS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /Oy- /MP /bigobj /utf-8 /Oi /GL /Gy /TP /Zi /O2 /Ob1 /DNDEBUG -MD /GL /fp:fast /WX /W4 /wd4100 /wd4127 /wd4201 /wd4242 /wd4244 /wd4245 /wd4456 /wd4457 /wd4458 /wd4459 /wd5272 /wd4554 /wd4263 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14905 /w14906 /w14928 /permissive- -std:c++latest /showIncludes /Fosrc\login\CMakeFiles\xi_connect.dir\auth_session.cpp.obj /Fdsrc\login\CMakeFiles\xi_connect.dir\ /FS -c ..\..\src\login\auth_session.cpp
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): error C2220: the following warning is treated as an error
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): warning C4263: 'bool sql::PreparedStatement::execute(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(43): warning C4263: 'int32_t sql::PreparedStatement::executeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(44): warning C4263: 'int64_t sql::PreparedStatement::executeLargeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(45): warning C4263: 'sql::ResultSet *sql::PreparedStatement::executeQuery(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(46): warning C4263: 'void sql::PreparedStatement::addBatch(void)': member function does not override any base class virtual member function
[72/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\connect_server.cpp.obj
FAILED: src/login/CMakeFiles/xi_connect.dir/connect_server.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DASIO_NO_DEPRECATED -DASIO_STANDALONE -DSOL_ALL_SAFETIES_ON=1 -DSOL_DEFAULT_PASS_ON_ERROR=1 -DSOL_NO_CHECK_NUMBER_PRECISION=1 -DSOL_PRINT_ERRORS=0 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -D_WIN32_WINNT=0x0A00 -I..\..\ -I..\..\src -I..\..\src\login -I_deps\fmt-src\include -I_deps\spdlog-src\include -I_deps\recastnavigation-src\Recast\Include -I_deps\recastnavigation-src\Detour\Include -I_deps\fast_obj-src -I_deps\argparse-src\include -I_deps\efsw-src\include -I_deps\efsw-src\src -I_deps\jthread-lite-src\include -I_deps\expected-lite-src\include -I_deps\json-src\include -I..\..\ext\zmq\include\zmq -I..\..\ext\zmq\include\zmq\.. -I..\..\ext\luajit\include -I..\..\ext\luajit\include\.. -I..\..\ext\openssl\include -I..\..\ext\openssl\include\.. -I..\..\ext\concurrentqueue\concurrentqueue -I..\..\ext\mariadb\include -I..\..\ext\mariadbcpp\include -I..\..\ext\sol\include -I_deps\task_system-src\include\task_system -I_deps\cpp-httplib-src -I_deps\pcg-cpp-src\include -I_deps\asio-src\asio\include -I_deps\bcrypt-src\include -I..\..\ext\wepoll /DWIN32 /D_WINDOWS /EHsc -D_CONSOLE -D_MBCS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /Oy- /MP /bigobj /utf-8 /Oi /GL /Gy /TP /Zi /O2 /Ob1 /DNDEBUG -MD /GL /fp:fast /WX /W4 /wd4100 /wd4127 /wd4201 /wd4242 /wd4244 /wd4245 /wd4456 /wd4457 /wd4458 /wd4459 /wd5272 /wd4554 /wd4263 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14905 /w14906 /w14928 /permissive- -std:c++latest /showIncludes /Fosrc\login\CMakeFiles\xi_connect.dir\connect_server.cpp.obj /Fdsrc\login\CMakeFiles\xi_connect.dir\ /FS -c ..\..\src\login\connect_server.cpp
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): error C2220: the following warning is treated as an error
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): warning C4263: 'bool sql::PreparedStatement::execute(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(43): warning C4263: 'int32_t sql::PreparedStatement::executeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(44): warning C4263: 'int64_t sql::PreparedStatement::executeLargeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(45): warning C4263: 'sql::ResultSet *sql::PreparedStatement::executeQuery(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(46): warning C4263: 'void sql::PreparedStatement::addBatch(void)': member function does not override any base class virtual member function
[73/493] Building CXX object src\login\CMakeFiles\xi_connect.dir\view_session.cpp.obj
FAILED: src/login/CMakeFiles/xi_connect.dir/view_session.cpp.obj
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe /nologo /TP -DASIO_NO_DEPRECATED -DASIO_STANDALONE -DSOL_ALL_SAFETIES_ON=1 -DSOL_DEFAULT_PASS_ON_ERROR=1 -DSOL_NO_CHECK_NUMBER_PRECISION=1 -DSOL_PRINT_ERRORS=0 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -D_WIN32_WINNT=0x0A00 -I..\..\ -I..\..\src -I..\..\src\login -I_deps\fmt-src\include -I_deps\spdlog-src\include -I_deps\recastnavigation-src\Recast\Include -I_deps\recastnavigation-src\Detour\Include -I_deps\fast_obj-src -I_deps\argparse-src\include -I_deps\efsw-src\include -I_deps\efsw-src\src -I_deps\jthread-lite-src\include -I_deps\expected-lite-src\include -I_deps\json-src\include -I..\..\ext\zmq\include\zmq -I..\..\ext\zmq\include\zmq\.. -I..\..\ext\luajit\include -I..\..\ext\luajit\include\.. -I..\..\ext\openssl\include -I..\..\ext\openssl\include\.. -I..\..\ext\concurrentqueue\concurrentqueue -I..\..\ext\mariadb\include -I..\..\ext\mariadbcpp\include -I..\..\ext\sol\include -I_deps\task_system-src\include\task_system -I_deps\cpp-httplib-src -I_deps\pcg-cpp-src\include -I_deps\asio-src\asio\include -I_deps\bcrypt-src\include -I..\..\ext\wepoll /DWIN32 /D_WINDOWS /EHsc -D_CONSOLE -D_MBCS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /Oy- /MP /bigobj /utf-8 /Oi /GL /Gy /TP /Zi /O2 /Ob1 /DNDEBUG -MD /GL /fp:fast /WX /W4 /wd4100 /wd4127 /wd4201 /wd4242 /wd4244 /wd4245 /wd4456 /wd4457 /wd4458 /wd4459 /wd5272 /wd4554 /wd4263 /w14254 /w14263 /w14265 /w14287 /we4289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549 /w14555 /w14619 /w14640 /w14905 /w14906 /w14928 /permissive- -std:c++latest /showIncludes /Fosrc\login\CMakeFiles\xi_connect.dir\view_session.cpp.obj /Fdsrc\login\CMakeFiles\xi_connect.dir\ /FS -c ..\..\src\login\view_session.cpp
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): error C2220: the following warning is treated as an error
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(40): warning C4263: 'bool sql::PreparedStatement::execute(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(43): warning C4263: 'int32_t sql::PreparedStatement::executeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(44): warning C4263: 'int64_t sql::PreparedStatement::executeLargeUpdate(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(45): warning C4263: 'sql::ResultSet *sql::PreparedStatement::executeQuery(void)': member function does not override any base class virtual member function
D:\serverTEST\ext\mariadbcpp\include\conncpp\PreparedStatement.hpp(46): warning C4263: 'void sql::PreparedStatement::addBatch(void)': member function does not override any base class virtual member function
ninja: build stopped: subcommand failed.
Build All failed.
VS2022:
>------ Build All started: Project: serverTEST, Configuration: x64-Release ------
[1/493] Building CXX object _deps\recastnavigation-build\DebugUtils\CMakeFiles\DebugUtils.dir\Source\RecastDebugDraw.cpp.obj
[2/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourCommon.cpp.obj
[3/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourAlloc.cpp.obj
[4/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNode.cpp.obj
[5/493] Building CXX object _deps\recastnavigation-build\DebugUtils\CMakeFiles\DebugUtils.dir\Source\DetourDebugDraw.cpp.obj
[6/493] Building C object ext\CMakeFiles\bcrypt.dir\__\_deps\bcrypt-src\src\wrapper.c.obj
[7/493] Building CXX object _deps\recastnavigation-build\DebugUtils\CMakeFiles\DebugUtils.dir\Source\DebugDraw.cpp.obj
[8/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNavMeshBuilder.cpp.obj
[9/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNavMesh.cpp.obj
[10/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourAssert.cpp.obj
[11/493] Building C object ext\CMakeFiles\bcrypt.dir\__\_deps\bcrypt-src\src\crypt_gensalt.c.obj
[12/493] Building CXX object _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNavMeshQuery.cpp.obj
[13/493] Building CXX object _deps\recastnavigation-build\DebugUtils\CMakeFiles\DebugUtils.dir\Source\RecastDump.cpp.obj
[14/493] Building CXX object _deps\recastnavigation-build\DetourCrowd\CMakeFiles\DetourCrowd.dir\Source\DetourLocalBoundary.cpp.obj
[15/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastAlloc.cpp.obj
[16/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastAssert.cpp.obj
[17/493] Building CXX object _deps\recastnavigation-build\DetourTileCache\CMakeFiles\DetourTileCache.dir\Source\DetourTileCacheBuilder.cpp.obj
[18/493] Building CXX object _deps\recastnavigation-build\DetourCrowd\CMakeFiles\DetourCrowd.dir\Source\DetourPathCorridor.cpp.obj
[19/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastArea.cpp.obj
[20/493] Building CXX object _deps\recastnavigation-build\DetourCrowd\CMakeFiles\DetourCrowd.dir\Source\DetourPathQueue.cpp.obj
[21/493] Building C object ext\CMakeFiles\bcrypt.dir\__\_deps\bcrypt-src\src\bcrypt.c.obj
D:\serverTEST\build\x64-Release\_deps\bcrypt-src\include\bcrypt\bcrypt.h(17): warning C4005: 'BCRYPT_HASHSIZE': macro redefinition
D:\serverTEST\build\x64-Release\_deps\bcrypt-src\src\bcrypt.c(32): note: see previous definition of 'BCRYPT_HASHSIZE'
D:\serverTEST\build\x64-Release\_deps\bcrypt-src\src\bcrypt.c(159): warning C4047: '=': 'char *' differs in levels of indirection from 'int'
D:\serverTEST\build\x64-Release\_deps\bcrypt-src\src\bcrypt.c(166): warning C4047: '=': 'char *' differs in levels of indirection from 'int'
[22/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\Recast.cpp.obj
[23/493] Building CXX object _deps\recastnavigation-build\DetourCrowd\CMakeFiles\DetourCrowd.dir\Source\DetourObstacleAvoidance.cpp.obj
[24/493] Building CXX object _deps\recastnavigation-build\DetourCrowd\CMakeFiles\DetourCrowd.dir\Source\DetourProximityGrid.cpp.obj
[25/493] Building CXX object _deps\recastnavigation-build\DetourTileCache\CMakeFiles\DetourTileCache.dir\Source\DetourTileCache.cpp.obj
[26/493] Building CXX object _deps\recastnavigation-build\DetourCrowd\CMakeFiles\DetourCrowd.dir\Source\DetourCrowd.cpp.obj
[27/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastFilter.cpp.obj
[28/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastRasterization.cpp.obj
[29/493] Linking CXX static library _deps\recastnavigation-build\Detour\Detour.lib
FAILED: _deps/recastnavigation-build/Detour/Detour.lib
cmd.exe /C "cd . && C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\lib.exe /nologo /machine:x64 /out:_deps\recastnavigation-build\Detour\Detour.lib _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourAlloc.cpp.obj _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourAssert.cpp.obj _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourCommon.cpp.obj _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNavMesh.cpp.obj _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNavMeshBuilder.cpp.obj _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNavMeshQuery.cpp.obj _deps\recastnavigation-build\Detour\CMakeFiles\Detour.dir\Source\DetourNode.cpp.obj && cd ."
D:\serverTEST\build\x64-Release\EXEC : fatal error C1007: unrecognized flag '-Zc:nrvo' in 'p2'
D:\serverTEST\build\x64-Release\LINK : fatal error LNK1257: code generation failed
[30/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastContour.cpp.obj
[31/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastLayers.cpp.obj
[32/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastMeshDetail.cpp.obj
[33/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastMesh.cpp.obj
[34/493] Building CXX object _deps\recastnavigation-build\Recast\CMakeFiles\Recast.dir\Source\RecastRegion.cpp.obj
[35/493] Building C object ext\CMakeFiles\bcrypt.dir\__\_deps\bcrypt-src\src\crypt_blowfish.c.obj
[36/493] Building C object _deps\fast_obj-build\CMakeFiles\fast_obj_lib.dir\fast_obj.c.obj
[37/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\DirectorySnapshotDiff.cpp.obj
[38/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\DirectorySnapshot.cpp.obj
[39/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileInfo.cpp.obj
[40/493] Building CXX object _deps\fmt-build\CMakeFiles\fmt.dir\src\os.cc.obj
[41/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\Debug.cpp.obj
[42/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\DirWatcherGeneric.cpp.obj
[43/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileSystem.cpp.obj
[44/493] Building CXX object _deps\efsw-build\CMakeFiles\efsw.dir\src\efsw\FileWatcher.cpp.obj
[45/493] Building CXX object _deps\fmt-build\CMakeFiles\fmt.dir\src\format.cc.obj
[46/493] Building CXX object _deps\spdlog-build\CMakeFiles\spdlog.dir\cmake_pch.cxx.obj
ninja: build stopped: subcommand failed.
Build All failed.
Expected behavior
Build
Hmm, https://github.com/LandSandBoat/server/pull/5423 was meant to fix this. Interesting
Is this still valid?