Open GoogleCodeExporter opened 9 years ago
I'm just refactoring this module, can you try the latest code from github?
https://github.com/yaoweibin/ngx_http_substitutions_filter_module
Original comment by yaoweibin@gmail.com
on 14 Aug 2012 at 3:53
Thanks for pointing out your new module, however the issue still persists there.
I opened an issue there on github.
Thanks!
Original comment by ultimate...@gmail.com
on 15 Aug 2012 at 2:01
原因:由于c的编译器要求将变量的声名放在一个函数块的头�
��,而c++没有这样的要求造成的。
把声名的三个变量放到函数的开头就可以了,
ngx_str_t err;
u_char errstr[NGX_MAX_CONF_ERRSTR];
ngx_regex_compile_t rc;
放到这个函数的头部就行 即
static ngx_int_t
ngx_http_subs_filter_regex_compile(sub_pair_t *pair,
ngx_http_script_compile_t *sc, ngx_conf_t *cf)
{
ngx_str_t err;
u_char errstr[NGX_MAX_CONF_ERRSTR];
ngx_regex_compile_t rc;
Original comment by zengf...@gmail.com
on 7 Sep 2012 at 5:55
MINGW, MS Visual Studio 2005 C#/C++, NGINX-1.2.4
objs/module/ngx_http_substitutions_filter_module/ngx_http_subs_filter_module.c(8
97) : error C2220: 警告被视为错误 - 没有生成“object”文件
objs/module/ngx_http_substitutions_filter_module/ngx_http_subs_filter_module.c(8
97) : warning C4244: “=”:
从“off_t”转换到“size_t”,可能丢失数据
Original comment by sos801...@gmail.com
on 23 Oct 2012 at 3:53
Original issue reported on code.google.com by
ultimate...@gmail.com
on 14 Aug 2012 at 5:08