hasandramali / xash3d-lc Goto Github PK
View Code? Open in Web Editor NEWXash3D Legacy CO-OP
License: GNU General Public License v3.0
Xash3D Legacy CO-OP
License: GNU General Public License v3.0
/opt/xash3d-schl/dlls/nodes.cpp: In member function 'void CGraph::InitGraph()':
/opt/xash3d-schl/dlls/nodes.cpp:113:68: error: too many arguments to function
SERVER_COMMAND( "exec maps/%s.cfg\n", STRING( gpGlobals->mapname ));
^
make[2]: *** [dlls/CMakeFiles/server.dir/build.make:934: dlls/CMakeFiles/server.dir/nodes.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:91: dlls/CMakeFiles/server.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I use Ubuntu 22.04 compiled in proot of Android termux.
I use the compilation parameters cmake . .
/root/xash3d-schl/dlls/nodes.cpp:113:23: error: too many arguments to function
113 | SERVER_COMMAND( "exec maps/%s.cfg\n", STRING( gpGlobals->mapname ));
[ 65%] Building CXX object dlls/CMakeFiles/server.dir/osprey.cpp.o
/root/xash3d-schl/dlls/nihilanth.cpp: In member function ‘void CNihilanth::NextActivity()’:
/root/xash3d-schl/dlls/nihilanth.cpp:740:39: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
740 | sprintf( szName, "%s%d", m_szRechargerTarget, m_iLevel );
| ^
/root/xash3d-schl/dlls/nihilanth.cpp:740:24: note: ‘sprintf’ output between 2 and 75 bytes into a destination of size 64
740 | sprintf( szName, "%s%d", m_szRechargerTarget, m_iLevel );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/xash3d-schl/dlls/nihilanth.cpp:832:63: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
832 | sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport );
| ^
/root/xash3d-schl/dlls/nihilanth.cpp:832:48: note: ‘sprintf’ output between 2 and 75 bytes into a destination of size 64
832 | sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/xash3d-schl/dlls/nihilanth.cpp:835:63: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
835 | sprintf( szText, "%s%d", m_szTeleportUse, m_iTeleport );
| ^
/root/xash3d-schl/dlls/nihilanth.cpp:835:48: note: ‘sprintf’ output between 2 and 75 bytes into a destination of size 64
835 | sprintf( szText, "%s%d", m_szTeleportUse, m_iTeleport );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/xash3d-schl/dlls/nihilanth.cpp:784:55: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
784 | sprintf( szText, "%s%d", m_szDrawUse, m_iLevel );
| ^
/root/xash3d-schl/dlls/nihilanth.cpp:784:40: note: ‘sprintf’ output between 2 and 75 bytes into a destination of size 64
784 | sprintf( szText, "%s%d", m_szDrawUse, m_iLevel );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/xash3d-schl/dlls/nihilanth.cpp: In member function ‘virtual void CNihilanth::HandleAnimEvent(MonsterEvent_t*)’:
/root/xash3d-schl/dlls/nihilanth.cpp:1114:43: warning: ‘%s’ directive writing up to 63 bytes into a region of size 32 [-Wformat-overflow=]
1114 | sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport );
| ^~
/root/xash3d-schl/dlls/nihilanth.cpp:1114:32: note: ‘sprintf’ output between 2 and 75 bytes into a destination of size 32
1114 | sprintf( szText, "%s%d", m_szTeleportTouch, m_iTeleport );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/xash3d-schl/dlls/nihilanth.cpp:1117:43: warning: ‘%s’ directive writing up to 63 bytes into a region of size 32 [-Wformat-overflow=]
1117 | sprintf( szText, "%s%d", m_szTeleportUse, m_iTeleport );
| ^~
/root/xash3d-schl/dlls/nihilanth.cpp:1117:32: note: ‘sprintf’ output between 2 and 75 bytes into a destination of size 32
1117 | sprintf( szText, "%s%d", m_szTeleportUse, m_iTeleport );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [dlls/CMakeFiles/server.dir/build.make:1014: dlls/CMakeFiles/server.dir/nodes.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:98: dlls/CMakeFiles/server.dir/all] Error 2
make: *** [Makefile:136: all] Error 2```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.