Comments (7)
Should be solved for now. Please close if you can build it with latest dev.
from ascemu.
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.
try gcc...
from ascemu.
the problem, as I remember, is only on clang. I'm checking now.
from ascemu.
gcc 👍
from ascemu.
changed the title..
from ascemu.
fix clang..
from ascemu.
Related Issues (20)
- 👾 [Bug Report] CMake Warning HOT 1
- 👾 [Bug Report] Crash when entering the game. HOT 3
- 👾 [Bug Report] Crash OnStartup when Loading Groups HOT 1
- 👾 [Bug Report] caught another crash 😅(Crash, kill NPCs 10-15 minutes) HOT 2
- 👾 [Bug Report] [CATA] - The Shadow Grave Quest HOT 1
- 👾 [Bug Report] errors when building on Linux (Clang) HOT 3
- 👾 [Bug Report] [MOP] Missing handler for SmsgShowBank
- 👾 [Bug Report] [MOP] Missing handler for CMSG_SET_ACTION_BUTTON
- 👾 [Bug Report] [MOP] Missing handler for CMSG_GOSSIP_HELLO
- 👾 [Bug Report] [MOP] Missing handler for CMSG_BANKER_ACTIVATE
- 👾 [Bug Report] [Cata+] removed trigger-npc
- 👾 [Bug Report] TBC Client/Server Crash after teleport
- 👾 [Bug Report] support for new version OpenSSL
- 👾 [Bug Report] Battlemasters and Talents buged or still no fixed HOT 1
- ⚙ [Support Request] Quest 6661 Deeprun Rat Roundup anomaly.
- 👾 [Bug Report] Dual Talent HOT 1
- 👾 [Bug Report] Summon Imp - server crash HOT 2
- 👾 [Bug Report] afk player - server crash HOT 2
- ⚙ [Support Request] Quest - Lazy peon
- 👾 [Bug Report] Debugging World and logon.exe / world.exe failed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ascemu.