Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error #9

Closed
zhuanjin opened this issue Jan 15, 2024 · 3 comments
Closed

make error #9

zhuanjin opened this issue Jan 15, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zhuanjin
Copy link

modules/nacos/ngx_nacos_grpc.c: In function ‘ngx_nacos_grpc_update_send_window’:
modules/nacos/ngx_nacos_grpc.c:1637:33: error: ‘t’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
1637 | st->non_block_bufs.tail = t;
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1453: objs/addon/nacos/ngx_nacos_grpc.o] Error 1
make[1]: Leaving directory '/home/martin/nginx-nacos-upstream'
make: *** [Makefile:10: build] Error 2

@zhwaaaaaa
Copy link
Collaborator

gcc 编译器 的 和 clang 在这里有点不兼容, clang 判断 了 这个case 是可以 实例化的, 使用 clang 编译器试试。 我在 下个版本 上 config 功能 的时候 会一起 修复 这个问题。

@zhwaaaaaa zhwaaaaaa added the bug Something isn't working label Feb 8, 2024
@zhwaaaaaa
Copy link
Collaborator

已经修复这个问题

@zhwaaaaaa
Copy link
Collaborator

已经可以通过 nginx 标准 方法编译 通过,这个我先 关了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants