sailzeng / zcelib Goto Github PK
View Code? Open in Web Editor NEWOne cplusplus C++ crossplatform library use for develop server,similar to ACE.
License: Apache License 2.0
One cplusplus C++ crossplatform library use for develop server,similar to ACE.
License: Apache License 2.0
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.
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.