-
Notifications
You must be signed in to change notification settings - Fork 183
Description
Hi there,
I recently updated all my AzerothCore Installation, and all the modules I usually use, such as:
- AH-BOT
- SKIP-DK-STARTING-AREA
- TRANSMOG
- SOLO-LFG
- SOLOCRAFT
But when compiling, at the end, I got this error:
[ 99%] Building CXX object modules/CMakeFiles/modules.dir/mod-transmog/src/transmog_scripts.cpp.o
/home/acore/ACORE_MODS_TESTS/core/modules/mod-solo-lfg/src/Lfg_Solo.cpp:21:34: fatal error: only virtual member functions can be marked 'override'
21 | void OnLogin(Player* player) override
| ^~~~~~~~
1 error generated.
make[2]: *** [modules/CMakeFiles/modules.dir/build.make:258: modules/CMakeFiles/modules.dir/mod-solo-lfg/src/Lfg_Solo.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1063: modules/CMakeFiles/modules.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
If I modify this file "/core/modules/mod-solo-lfg/src/Lfg_Solo.cpp" at lines 21 and 30, by deleting the word "override", the compilation goes to the end.
For helping you:
- I had to switch from my working Debian 12 / MariaDB combination (not updated since July 2024 and was working well!) for a fresh Ubuntu Server 24.04.2 and MySQL 8.4.4 in order to be consistent with the AzerothCore prerequisites ;
- I'd 'git' the AzerothCore
- And I'd 'git' my modules, listed above
- Then launch a compilation
- At 99%, the error occured
I checked the SOLO-LFG module, and it's not updated since nearly a year, though!
So, is it a fix you can do on your module, or is it a fix to apply on the SOLO-LFG module?
I remind you that if this file "/core/modules/mod-solo-lfg/src/Lfg_Solo.cpp" is modified at lines 21 and 30, by deleting the word "override", the compilation runs totally fine! But I can't tell if this has any impact on the functioning of the core, the 'Transmog' module only, the 'SOLO-LFG' module only, or on the whole package!
Hope a fix can be published, or maybe a help or answer about how I can be sure that my modifications are safe or not :)
Thanks a lot
Regards,
V.
