Comments (5)
还有一处
lib_acl_cpp/src/serialize/gsoner.cpp:1376:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
if(check_comment())
^~
此问题已经修复,将 switch 替换成 if 条件语句解决了。
from acl.
还有一处。。
/tmp/acl-acl.3.4.1/lib_acl_cpp/src/stdlib/charset_conv.cpp: In member function ‘bool acl::charset_conv::update_begin(const char*, const char*)’:
/tmp/acl-acl.3.4.1/lib_acl_cpp/src/stdlib/charset_conv.cpp:277:20: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
__iconv(m_iconv, &pNil, &zero, &pNil, &zero);
^~~~~ ~~~~~
iconv的四个指针参数全部是__restric__修饰,这里实参是同样的变量就会有编译问题。
man 3 iconv:
A third case is when inbuf is NULL or *inbuf is NULL, and outbuf is NULL or *outbuf is NULL. In this case, the iconv() function sets cd's conversion state to the initial state.
直接设置4个NULL应该就行了
from acl.
/tmp/acl-acl.3.4.1/lib_fiber/c/src/hook/io.c:708:9: error: no previous prototype for ‘readv’ [-Werror=missing-prototypes]
ssize_t readv(socket_t fd, const struct iovec *iov, int iovcnt)
readv在posix中规定了位于<sys/uio.h>,这个在04版的posix就有了,应该加进stdafx.h中
已添加。
from acl.
/tmp/acl-acl.3.4.1/lib_fiber/c/src/dns/dns.c:223:5: error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
#if HAVE_STATIC_ASSERT
^~~~~~~~~~~~~~~~~~
需要用defined(HAVE_STATIC_ASSERT)包起来
已修改。
from acl.
给郑老师点赞!
from acl.
Related Issues (20)
- 增加CI/CD工作流
- keys_pattern function inside redis_key.cpp is not working correclty HOT 3
- 3.6.0升级到3.6.0-2版本 测试工程链接失败 HOT 3
- gson是否支持std::array HOT 1
- 能不能讲一下怎么使用websocket+ssl? HOT 2
- dns解析支持毫秒级超时设置吗 HOT 3
- vs2015 windows使用acl redis库时报错
- 项目中使用acl-redis client 报错 HOT 1
- 求解释一些设计理念
- 各平台的编译支持 HOT 11
- mingw支持问题 HOT 2
- mbedtls_conf.cpp代码疑问 HOT 3
- 目前仅支持Redis集群3.0模式吗? HOT 1
- MYSQL
- MYSQL冲突 HOT 3
- wizard模版中setup.sh文件获取Linux x86_64等类型的处理 HOT 1
- xmake 无法编译通过 HOT 1
- 在http fiber下,在handler里面使用http_request的问题。 HOT 5
- How to resolve compilation errors HOT 1
- TLS连接redis返回握手失败 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 acl.