Jump to content

[REL20] Compilation error


cabfever

Recommended Posts

Posted

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.

Posted

You shouldn't. That's my mistake, I wasn't realizing we were using old C++ compilator in MangosWorld. :-)

It has been merged in Rel20 and you should now able to test it properly !

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