Giter VIP home page Giter VIP logo

Comments (7)

Zyres avatar Zyres commented on June 8, 2024

Should be solved for now. Please close if you can build it with latest dev.

from ascemu.

schnek avatar schnek commented on June 8, 2024
In file included from <built-in>:441:
In file included from /home/ascemu/Development/AscEmu/src/world/CMakeFiles/world.dir/cmake_pch.hxx:5:
In file included from /home/ascemu/Development/AscEmu/src/world/pchWorld.hpp:8:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/string:53:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:39:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/ext/alloc_traits.h:34:
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/alloc_traits.h:518:4: error: no matching function for call to 'construct_at'
          std::construct_at(__p, std::forward<_Args>(__args)...);
          ^~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/vector.tcc:117:21: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<AIMessage>>::construct<AIMessage, unsigned int &, bool &>' requested here
            _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
                           ^
/home/ascemu/Development/AscEmu/src/world/Server/Script/AIUtils.hpp:208:27: note: in instantiation of function template specialization 'std::vector<AIMessage>::emplace_back<unsigned int &, bool &>' requested here
        mAIMessages[slot].emplace_back(textId, useTarget);
                          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = AIMessage, _Args = <unsigned int &, bool &>]: no matching constructor for initialization of 'AIMessage'
    construct_at(_Tp* __location, _Args&&... __args)
    ^
In file included from /home/ascemu/Development/AscEmu/src/world/Chat/Commands/DebugCommands.cpp:19:
In file included from /home/ascemu/Development/AscEmu/src/world/Server/Script/CreatureAIScript.hpp:18:
In file included from /home/ascemu/Development/AscEmu/src/world/Server/Script/CreatureAIFunctionScheduler.hpp:10:
/home/ascemu/Development/AscEmu/src/world/Server/Script/CreatureAIFunction.hpp:46:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
    const uint32_t getCount();
    ^~~~~~
/home/ascemu/Development/AscEmu/src/world/Server/Script/CreatureAIFunction.hpp:51:5: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers]
    const bool isHpInPercentRange(float targetHp);
    ^~~~~~
/home/ascemu/Development/AscEmu/src/world/Chat/Commands/DebugCommands.cpp:797:12: warning: variable 'Time' set but not used [-Wunused-but-set-variable]
    uint32 Time = 0;
           ^
14 warnings and 1 error generated.
make[2]: *** [src/world/CMakeFiles/world.dir/build.make:269: src/world/CMakeFiles/world.dir/Chat/Commands/DebugCommands.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
9 warnings generated.
make[1]: *** [CMakeFiles/Makefile2:643: src/world/CMakeFiles/world.dir/all] Error 2
make: *** [Makefile:136: all] Error 2


problem still exists (clang).

from ascemu.

Zyres avatar Zyres commented on June 8, 2024

try gcc...

from ascemu.

schnek avatar schnek commented on June 8, 2024

the problem, as I remember, is only on clang. I'm checking now.

from ascemu.

schnek avatar schnek commented on June 8, 2024

gcc 👍

image

from ascemu.

schnek avatar schnek commented on June 8, 2024

changed the title..

from ascemu.

schnek avatar schnek commented on June 8, 2024

fix clang..

from ascemu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.