Jump to content
  • [REL20] Compilation error


    cabfever
    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Show Stopper
      Version: 0.20(currentmasterbranch) Milestone: 20-newbeginnings Priority: Normal
      Implemented Version: 0.20(currentmasterbranch)

    [REL20] Compilation error

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

    [code]
    [ 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
    [/code]

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


    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • 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