GithubHelp home page GithubHelp logo

sailzeng / zcelib Goto Github PK

View Code? Open in Web Editor NEW
102.0 102.0 46.0 15.65 MB

One cplusplus C++ crossplatform library use for develop server,similar to ACE.

License: Apache License 2.0

Makefile 0.27% C 1.81% C++ 97.57% Lua 0.15% CMake 0.20%

zcelib's People

Contributors

sailzeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zcelib's Issues

zce_script_lua_tie.cpp arithmetic metamethods

such as add_int64, if the first parameter is a LUA_INTERGER , lua_touserdata(state, 1) will return NULL. I think it need some code to determine the type of the parameters.

int64_t a = 0;
int type = lua_type(L, 1);
if (type == LUA_TNUMBER) {
    a = lua_tonumber(L,index);
}
...

技术大神,你这代码编译需要什么环境和配置吗

我用gcc 版本 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) 以及gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) 都试了,都会出现以下gcc内部错误而退出,这个该如何解决呢?

[root@VM_0_7_centos zcelib]# make
g++ -W -Wall -Wpointer-arith -Winline -Wunreachable-code -Wshadow -Wcast-align -Werror -std=c++17 -MMD -pipe -O2 -ggdb -D_REENTRANT -D_GNU_SOURCE -I/opt/zjx/code/zcelib/third_party/include/mysql-linux-5.6.22 -I/opt/zjx/code/zcelib/third_party/include/sqlite-3.8.8.1 -I/opt/zjx/code/zcelib/third_party/include/rapidxml-1.13 -I/opt/zjx/code/zcelib/third_party/include/lualib-5.1.5 -I/opt/zjx/code/zcelib/third_party/include/protobuf-2.6.1/src -x c++-header -c -MF /opt/zjx/code/zcelib/obj/linux/x64_neutral/zcelib/zce_predefine.h.d zce_predefine.h -o zce_predefine.h.gch/zce_predefine.h.x64_neutral.gch
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

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.