EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Syntax errors during compile (https://www.eqemulator.org/forums/showthread.php?t=44354)

kawless 05-24-2025 09:15 PM

Syntax errors during compile
 
I'm only getting 12 builds compiling successfully, here are the last few errors of many:

Code:

24>c:\eq\code\common\repositories/command_subsettings_repository.h(83): error C2143: syntax error: missing ';' before '{' (compiling source file C:\EQ\code\world\world_boot.cpp)
24>c:\eq\code\common\repositories/command_subsettings_repository.h(83): error C2447: '{': missing function header (old-style formal list?) (compiling source file C:\EQ\code\world\world_boot.cpp)
24>c:\eq\code\common\repositories/command_subsettings_repository.h(83): error C2059: syntax error: ',' (compiling source file C:\EQ\code\world\world_boot.cpp)
24>c:\eq\code\common\repositories/command_subsettings_repository.h(84): error C2143: syntax error: missing ';' before '{' (compiling source file C:\EQ\code\world\world_boot.cpp)
24>c:\eq\code\common\repositories/command_subsettings_repository.h(84): error C2447: '{': missing function header (old-style formal list?) (compiling source file C:\EQ\code\world\world_boot.cpp)
24>c:\eq\code\common\repositories/command_subsettings_repository.h(84): fatal error C1003: error count exceeds 100; stopping compilation (compiling source file C:\EQ\code\world\world_boot.cpp)
25>Done building project "zone.vcxproj" -- FAILED.
24>Done building project "world.vcxproj" -- FAILED.
26>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug x64 ------
26>Building Custom Rule C:/EQ/code/CMakeLists.txt
27>------ Skipped Rebuild All: Project: INSTALL, Configuration: Debug x64 ------
27>Project not selected to build for this solution configuration
========== Rebuild All: 12 succeeded, 10 failed, 5 skipped ==========

Here is some of the offending code:

c:\EQ\code\common\repositories\command_subsettings _repository.h
Code:

83        {.parent_command = "set", .sub_command = "crystals", .access_level = AccountStatus::QuestTroupe, .top_level_aliases = "setcrystals"},
84        {.parent_command = "set", .sub_command = "date", .access_level = AccountStatus::QuestTroupe, .top_level_aliases = "date"},

I tried with VS2017, VS2019, and VS2022 with the same results.
Do I just add "missing" semicolons?
Did I mess up with cmake?
I followed
https://docs.eqemu.io/server/install...ndows-install/
as best I could


All times are GMT -4. The time now is 09:47 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.