Jump to content
  • Build failure

    • Status: Completed
      Main Category: Core / Mangos Daemon
      Sub-Category: Show Stopper
      Version: 0.20 Milestone: 24 Priority: New
      Implemented Version: 0.20

    See title

    /root/mangos/server/src/game/WorldHandlers/LFGHandler.cpp: In member function 'void WorldSession::SendLfgBootUpdate(const LFGBoot&)':
    /root/mangos/server/src/game/WorldHandlers/LFGHandler.cpp:698:67: error: 'nullptr' was not declared in this scope
    uint32 timeLeft = uint8( ((boot.startTime+LFG_TIME_BOOT)-time(nullptr)) / 1000 );

    make[2]: *** [src/game/CMakeFiles/game.dir/WorldHandlers/LFGHandler.cpp.o] Error 1
    make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2

    User Feedback

    Recommended Comments

    Rochet: [QUOTE]need to change nullptr probably to NULL
    [14:23:35] Rochet2: nullptr is a c++11 definition from what I recall
    [14:23:40] Rochet2: (keyword)[/QUOTE]

    This fixed the issue, but the correction needs to be made in two files:

    LFGHandler.cpp - 1 occurrence of nullptr
    LFGMgr.cpp - many occurrences of nullptr

    change nullptr to NULL, as Rochet says.

    Someone else can test this further (running server), as I do not have Two set up on my machines, and I am too affected by the recent merry making to be able to face much more computer time :D

    Link to comment
    Share on other sites

    This is now closed for further comments

  • 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