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

Does not compile with default options on Apple clang 14.0.3 #1757

Open
grep0 opened this issue Apr 1, 2024 · 0 comments
Open

Does not compile with default options on Apple clang 14.0.3 #1757

grep0 opened this issue Apr 1, 2024 · 0 comments

Comments

@grep0
Copy link

grep0 commented Apr 1, 2024

Compilation fails with the warning unused-but-set-variable. Adding --with-cc-opt=-Wno-unused-but-set-variable helps

/Users/user/opensource/nginx-rtmp-module/ngx_rtmp_handler.c:573:48: error: variable 'nbufs' set but not used [-Werror,-Wunused-but-set-variable]
    ngx_int_t                   hsize, thsize, nbufs;

Probably a duplicate of #1407 (I don't speak Chinese)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant