- ~/d/a/build master cmake ../ -DCMAKE_INSTALL_PREFIX=/opt/server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=1 -DSCRIPTS=1 -DWITH_WARNINGS=1 -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror"
- -- The C compiler identification is Clang 10.0.0
- -- The CXX compiler identification is Clang 10.0.0
- -- Check for working C compiler: /usr/bin/clang
- -- Check for working C compiler: /usr/bin/clang - works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Check for working CXX compiler: /usr/bin/clang++
- -- Check for working CXX compiler: /usr/bin/clang++ - works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- Loading module: modules/mod-chat-login
- -- Running cmake hook: AFTER_LOAD_CONF
- -- No hooks registered for AFTER_LOAD_CONF
- -- Enabled С++17 support
- -- Detected 64-bit platform
- -- UNIX: Using jemalloc
- -- UNIX: Using default configuration directory
- -- UNIX: Using default library directory
- -- UNIX: Configuring uninstall target
- -- UNIX: Created uninstall target
- -- UNIX: Detected compiler: /usr/bin/clang
- -- Clang: All warnings enabled
- -- Running cmake hook: AFTER_LOAD_CMAKE_MODULES
- -- No hooks registered for AFTER_LOAD_CMAKE_MODULES
- -- cotire 1.8.0 loaded.
- -- Found ACE library: /usr/lib/libACE.so
- -- Found ACE headers: /usr/include
- -- Using mysql-config: /usr/bin/mysql_config
- -- Found MySQL library: /usr/lib/libmariadb.so
- -- Found MySQL headers: /usr/include/mysql
- -- Found git binary : /usr/bin/git
- * AzerothCore revision : be4d7b810c60 2020-04-22 23:26:50 +0300 (master branch)
- * AzerothCore buildtype : Release
- * Install core to : /opt/server
- * Install libraries to : /opt/server/lib
- * Install configs to : /opt/server/etc
- * Build world/auth : Yes (default)
- * Build with scripts : Yes (default)
- * Build map/vmap tools : Yes
- * Build core w/PCH : Yes (default)
- * Build scripts w/PCH : Yes (default)
- * Show all warnings : Yes
- * Use coreside debug : No (default)
- * Use unix gperftools : No (default)
- * Use GIT revision hash : Yes (default)
- * Enable extra features : Yes (default)
- * Enable vmap DisableMgr checks : Yes (default)
- * Enable extra logging functions : No (default)
- * Show source tree : No (For UNIX default)
- -- Looking for pthread.h
- -- Looking for pthread.h - found
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
- -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
- -- Looking for pthread_create in pthreads
- -- Looking for pthread_create in pthreads - not found
- -- Looking for pthread_create in pthread
- -- Looking for pthread_create in pthread - found
- -- Found Threads: TRUE
- -- Looking for open
- -- Looking for open - found
- -- Looking for strtod_l
- -- Looking for strtod_l - not found
- -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
- -- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so
- -- Found Readline library: /usr/lib/libreadline.so
- -- Include dir is: /usr/include
- -- Looking for MADV_FREE
- -- Looking for MADV_FREE - found
- -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8")
- -- Looking for BZ2_bzCompressInit
- -- Looking for BZ2_bzCompressInit - found
- -- CXX target common cotired without unity build.
- -- Running cmake hook: BEFORE_SRC_LOAD
- -- No hooks registered for BEFORE_SRC_LOAD
- -- Running cmake hook: BEFORE_GAME_LIBRARY
- -- No hooks registered for BEFORE_GAME_LIBRARY
- -- CXX target game cotired without unity build.
- -- Running cmake hook: AFTER_GAME_LIBRARY
- -- No hooks registered for AFTER_GAME_LIBRARY
- -- CXX target authserver cotired without unity build.
- -- Running cmake hook: AFTER_AUTHSERVER_CMAKE
- -- No hooks registered for AFTER_AUTHSERVER_CMAKE
- -- Running cmake hook: BEFORE_SCRIPTS_LIBRARY
- -- No hooks registered for BEFORE_SCRIPTS_LIBRARY
- -- SCRIPT PREPARATIONS
- -> Prepared: Spells
- -> Prepared: Commands
- -> Prepared: World
- -> Prepared: Outdoor PVP Zones
- -> Prepared: Eastern Kingdoms
- -> Prepared: Kalimdor
- -> Prepared: Outland
- -> Prepared: Northrend
- -> Prepared: Events
- -> Prepared: Pet
- -- SCRIPT PREPARATION COMPLETE
- -- CXX target scripts cotired without unity build.
- -- CXX target worldserver cotired without unity build.
- -- Running cmake hook: AFTER_WORLDSERVER_CMAKE
- Including /home/viste/dev-wow/az-core/modules/mod-chat-login/src/cmake/after_ws_install.cmake
- -- Running cmake hook: AFTER_SRC_LOAD
- -- No hooks registered for AFTER_SRC_LOAD
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/viste/dev-wow/az-core/build
- ~/d/a/build master make -j 6
- Scanning dependencies of target Detour
- Scanning dependencies of target g3dlib
- Scanning dependencies of target Recast
- Scanning dependencies of target jemalloc
- Scanning dependencies of target gsoap
- Scanning dependencies of target fmt
- [ 0%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o
- [ 0%] Building CXX object deps/fmt/CMakeFiles/fmt.dir/fmt/format.cc.o
- [ 0%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o
- [ 0%] Building CXX object deps/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o
- [ 0%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o
- [ 1%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o
- [ 1%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o
- [ 1%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o
- [ 2%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o
- [ 2%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/background_thread.c.o
- [ 2%] Building CXX object deps/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o
- [ 2%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o
- [ 2%] Building CXX object deps/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o
- [ 2%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/bin.c.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o
- [ 2%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/bitmap.c.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o
- [ 2%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o
- [ 2%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o
- [ 2%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o
- [ 2%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o
- [ 2%] Linking CXX static library libDetour.a
- [ 2%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o
- [ 2%] Built target Detour
- [ 3%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o
- [ 3%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/div.c.o
- [ 3%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o
- [ 3%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o
- [ 3%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/extent_dss.c.o
- [ 4%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/extent_mmap.c.o
- [ 4%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o
- [ 4%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o
- [ 4%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o
- [ 4%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o
- [ 4%] Building CXX object deps/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o
- [ 4%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/hook.c.o
- [ 4%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o
- [ 4%] Building CXX object deps/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc_cpp.cpp.o
- [ 4%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o
- [ 4%] Linking CXX static library libgsoap.a
- [ 4%] Built target gsoap
- Scanning dependencies of target mpq
- [ 4%] Building C object deps/libmpq/CMakeFiles/mpq.dir/libmpq/common.c.o
- [ 5%] Building C object deps/libmpq/CMakeFiles/mpq.dir/libmpq/explode.c.o
- [ 5%] Building C object deps/libmpq/CMakeFiles/mpq.dir/libmpq/extract.c.o
- [ 5%] Building C object deps/libmpq/CMakeFiles/mpq.dir/libmpq/huffman.c.o
- [ 5%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/large.c.o
- [ 5%] Building C object deps/libmpq/CMakeFiles/mpq.dir/libmpq/mpq.c.o
- [ 5%] Building C object deps/libmpq/CMakeFiles/mpq.dir/libmpq/wave.c.o
- [ 5%] Linking CXX static library libmpq.a
- [ 5%] Built target mpq
- Scanning dependencies of target revision.h
- [ 5%] Built target revision.h
- Scanning dependencies of target vmap4extractor
- [ 5%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/adtfile.cpp.o
- [ 5%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o
- [ 5%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o
- [ 6%] Linking CXX static library libRecast.a
- [ 6%] Built target Recast
- [ 6%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/log.c.o
- [ 6%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/malloc_io.c.o
- [ 6%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o
- [ 6%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o
- [ 6%] Building CXX object deps/fmt/CMakeFiles/fmt.dir/fmt/posix.cc.o
- [ 6%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o
- [ 6%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/dbcfile.cpp.o
- [ 6%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/gameobject_extract.cpp.o
- [ 6%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o
- [ 7%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/mutex_pool.c.o
- [ 7%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o
- [ 8%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/model.cpp.o
- [ 8%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/nstime.c.o
- [ 8%] Linking CXX static library libfmt.a
- [ 8%] Built target fmt
- [ 8%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/pages.c.o
- [ 8%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/mpq_libmpq.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o
- [ 9%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/prng.c.o
- [ 9%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/prof.c.o
- [ 9%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/vmapexport.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o
- [ 9%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/wdtfile.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o
- [ 9%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/safety_check.c.o
- [ 9%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/rtree.c.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o
- [ 9%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/stats.c.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o
- [ 9%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o
- [ 9%] Building CXX object src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/wmo.cpp.o
- [ 10%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o
- [ 10%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/sc.c.o
- [ 10%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/sz.c.o
- [ 11%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/tcache.c.o
- [ 11%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/test_hooks.c.o
- [ 11%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/ticker.c.o
- [ 11%] Linking CXX executable vmap4extractor
- [ 11%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/tsd.c.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o
- [ 11%] Built target vmap4extractor
- [ 11%] Building C object deps/jemalloc/CMakeFiles/jemalloc.dir/src/witness.c.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/ReferenceCount.cpp.o
- [ 11%] Linking CXX static library libjemalloc.a
- [ 11%] Built target jemalloc
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
- [ 11%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o
- [ 12%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o
- [ 12%] Linking CXX static library libg3dlib.a
- [ 12%] Built target g3dlib
- [ 12%] Generating CXX prefix source src/common/cotire/common_CXX_prefix.cxx
- [ 12%] Generating CXX prefix header src/common/cotire/common_CXX_prefix.hxx
- [ 12%] Building CXX precompiled header src/common/cotire/common_CXX_prefix.hxx.pch
- Scanning dependencies of target common
- [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o
- [ 12%] Building CXX object src/common/CMakeFiles/common.dir/GitRevision.cpp.o
- [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Collision/BoundingIntervalHierarchy.cpp.o
- [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Collision/DynamicTree.cpp.o
- [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapFactory.cpp.o
- [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapManager.cpp.o
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/BoundingIntervalHierarchy.cpp:7:
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/BoundingIntervalHierarchy.h:10:
- /home/viste/dev-wow/az-core/deps/g3dlite/include/G3D/Vector3.h:118:25: fatal error: definition of implicit copy constructor for 'Vector3' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
- Vector3& __fastcall operator= (const Vector3& rkVector);
- ^
- /home/viste/dev-wow/az-core/deps/g3dlite/include/G3D/Vector3.h:213:20: note: in implicit copy constructor for 'G3D::Vector3' first required here
- return Vector3::zero();
- ^
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/DynamicTree.cpp:10:
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/BoundingIntervalHierarchyWrapper.h:13:
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/BoundingIntervalHierarchy.h:10:
- /home/viste/dev-wow/az-core/deps/g3dlite/include/G3D/Vector3.h:118:25: fatal error: definition of implicit copy constructor for 'Vector3' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
- Vector3& __fastcall operator= (const Vector3& rkVector);
- ^
- /home/viste/dev-wow/az-core/deps/g3dlite/include/G3D/Vector3.h:213:20: note: in implicit copy constructor for 'G3D::Vector3' first required here
- return Vector3::zero();
- ^
- [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapFactory.cpp.o
- [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapManager2.cpp.o
- 1 error generated.
- make[2]: *** [src/common/CMakeFiles/common.dir/build.make:126: src/common/CMakeFiles/common.dir/Collision/BoundingIntervalHierarchy.cpp.o] Ошибка 1
- make[2]: *** Ожидание завершения заданий…
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/Management/MMapManager.cpp:7:
- In file included from /home/viste/dev-wow/az-core/src/server/game/Maps/MapManager.h:13:
- In file included from /home/viste/dev-wow/az-core/src/server/game/Maps/Map.h:20:
- In file included from /home/viste/dev-wow/az-core/src/server/game/Grids/GridDefines.h:11:
- /home/viste/dev-wow/az-core/src/server/game/Grids/NGrid.h:47:58: fatal error: cannot assign to non-static data member within const member function 'SetGridId'
- void SetGridId(const uint32 id) const { i_gridId = id; }
- ~~~~~~~~ ^
- 1 error generated.
- make[2]: *** [src/common/CMakeFiles/common.dir/build.make:140: src/common/CMakeFiles/common.dir/Collision/DynamicTree.cpp.o] Ошибка 1
- /home/viste/dev-wow/az-core/src/server/game/Grids/NGrid.h:47:14: note: member function 'NGrid::SetGridId' is declared const here
- void SetGridId(const uint32 id) const { i_gridId = id; }
- ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/Management/VMapManager2.cpp:23:
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/Maps/MapTree.h:11:
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/BoundingIntervalHierarchy.h:10:
- /home/viste/dev-wow/az-core/deps/g3dlite/include/G3D/Vector3.h:118:25: fatal error: definition of implicit copy constructor for 'Vector3' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
- Vector3& __fastcall operator= (const Vector3& rkVector);
- ^
- /home/viste/dev-wow/az-core/deps/g3dlite/include/G3D/Vector3.h:213:20: note: in implicit copy constructor for 'G3D::Vector3' first required here
- return Vector3::zero();
- ^
- 1 error generated.
- make[2]: *** [src/common/CMakeFiles/common.dir/build.make:168: src/common/CMakeFiles/common.dir/Collision/Management/MMapManager.cpp.o] Ошибка 1
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/Management/MMapFactory.cpp:7:
- In file included from /home/viste/dev-wow/az-core/src/common/Collision/Management/MMapFactory.h:14:
- In file included from /home/viste/dev-wow/az-core/src/server/game/Maps/Map.h:20:
- In file included from /home/viste/dev-wow/az-core/src/server/game/Grids/GridDefines.h:11:
- /home/viste/dev-wow/az-core/src/server/game/Grids/NGrid.h:47:58: fatal error: cannot assign to non-static data member within const member function 'SetGridId'
- void SetGridId(const uint32 id) const { i_gridId = id; }
- ~~~~~~~~ ^
- /home/viste/dev-wow/az-core/src/server/game/Grids/NGrid.h:47:14: note: member function 'NGrid::SetGridId' is declared const here
- void SetGridId(const uint32 id) const { i_gridId = id; }
- ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 1 error generated.
- make[2]: *** [src/common/CMakeFiles/common.dir/build.make:154: src/common/CMakeFiles/common.dir/Collision/Management/MMapFactory.cpp.o] Ошибка 1
- 1 error generated.
- make[2]: *** [src/common/CMakeFiles/common.dir/build.make:196: src/common/CMakeFiles/common.dir/Collision/Management/VMapManager2.cpp.o] Ошибка 1
- make[1]: *** [CMakeFiles/Makefile2:998: src/common/CMakeFiles/common.dir/all] Ошибка 2
- make: *** [Makefile:150: all] Ошибка 2