darionyaphet opened a new issue #595: URL: https://github.com/apache/incubator-pegasus/issues/595
## Bug Report GCC 9.2.0 编译错误 按照下列命令运行: ``` git clone https://github.com/xiaomi/pegasus.git --recursive cd pegasus git checkout -b v1.11.4 v1.11.4 git submodule update ./run.sh build -c ``` 出现如下错误 ``` src/zookeeper.c: In function 'format_endpoint_info': src/zookeeper.c:3469:21: error: '%d' directive writing between 1 and 5 bytes into a region of size between 0 and 127 [-Werror=format-overflow=] 3469 | sprintf(buf,"%s:%d",addrstr,ntohs(port)); ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
