GithubHelp home page GithubHelp logo

hasandramali / xash3d-lc Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 3.54 MB

Xash3D Legacy CO-OP

License: GNU General Public License v3.0

Makefile 0.15% CMake 0.31% C++ 89.58% C 9.87% Shell 0.03% Java 0.06%

xash3d-lc's People

Contributors

avsar-master avatar bariscodefxy avatar byoreo avatar hasandramali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xash3d-lc's Issues

Compile error

/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

compile error on armhflinux

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```

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.