cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 48 forks source link

🚀 [Feature Request] Error Compile #3783

Closed Arshiya051 closed 1 week ago

Arshiya051 commented 1 week ago

Feature Details

D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2486): error C2365: 'map': redefinition; previous definition was 'data variable' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2485): note: see declaration of 'map' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2488): error C3493: 'map' cannot be implicitly captured because no default capture mode has been specified 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2495): error C2365: 'map': redefinition; previous definition was 'data variable' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2494): note: see declaration of 'map' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2497): error C3493: 'map' cannot be implicitly captured because no default capture mode has been specified 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2505): error C2365: 'map': redefinition; previous definition was 'data variable' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2504): note: see declaration of 'map' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2507): error C3493: 'map' cannot be implicitly captured because no default capture mode has been specified 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2518): error C2365: 'map': redefinition; previous definition was 'data variable' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2517): note: see declaration of 'map' 8>D:\3.1\mangos-wotlk-master\src\game\World\WorldState.cpp(2520): error C3493: 'map' cannot be implicitly captured because no default capture mode has been specified 8>D:\3.1\mangos-wotlk-master\src\game\Anticheat/Anticheat.hpp(261): warning C4138: '*/' found outside of comment (compiling source file D:\3.1\mangos-wotlk-master\src\game\World\World.cpp) 8>Done building project "game.vcxproj" -- FAILED.

Visualizations

https://biaupload.com/do.php?imgf=org-743812ccaba01.png

Benefits and Purpose

https://biaupload.com/do.php?imgf=org-743812ccaba01.png

Core Versions

insunaa commented 1 week ago

duplicate of https://github.com/cmangos/issues/issues/3782