Jump to content
  • 0

[REL20] Compilation error


cabfever

Question

When I compile REL20 devbranch, I get this error while make:

[ 42%] Building CXX object src/game/CMakeFiles/game.dir/SpellMgr.cpp.o
/home/mangos/mangoszero/server_rel20/src/game/SpellMgr.cpp: In member function ‘void SpellMgr::ModDBCSpellAttributes()’:
/home/mangos/mangoszero/server_rel20/src/game/SpellMgr.cpp:1851:25: error: range-based-for loops are not allowed in C++98 mode
make[2]: *** [src/game/CMakeFiles/game.dir/SpellMgr.cpp.o] Error 1
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2

Wanted to test Rel20, but it's not possible yet.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use