../3rd-party-ngx-modules/lua-nginx-module/src/ngx_http_lua_socket_udp.c
../3rd-party-ngx-modules/lua-nginx-module/src/ngx_http_lua_socket_udp.c: In function ‘ngx_http_lua_udp_connect’:
../3rd-party-ngx-modules/lua-nginx-module/src/ngx_http_lua_socket_udp.c:1487:9: error: the address of ‘ngx_add_event’ will always evaluate as ‘true’ [-Werror=address]
if (ngx_add_event) {
^~~~~~~~~~~~~
Expected result: code being compiled.
Reason:
With NGX_HAVE_FSTACK defined, ngx_add_event being declared as function instead of macro:
#define ngx_add_event ngx_event_actions.add
Similar to #278, but I can't read Chinese... :-(
NGINX configuration script:
When compiling after configuration above I got:
Expected result: code being compiled.
Reason: With
NGX_HAVE_FSTACK
defined,ngx_add_event
being declared as function instead of macro:#define ngx_add_event ngx_event_actions.add
Solution: ??