17 messages in ru.sysoev.nginxRe: [ANN] nginx_uploadprogress_module...
FromSent OnAttachments
Brice FigureauOct 3, 2007 8:49 am 
Ezra ZygmuntowiczOct 3, 2007 11:57 am 
Otto BretzOct 9, 2007 5:33 am 
Brice FigureauOct 9, 2007 6:46 am 
Brice FigureauOct 9, 2007 7:06 am.patch
Evan MillerOct 9, 2007 10:47 am 
Otto BretzOct 10, 2007 2:21 am 
Brice FigureauOct 10, 2007 6:14 am 
Otto BretzOct 11, 2007 4:55 am.zip
Brice FigureauOct 11, 2007 5:45 am 
Joerg DiekmannFeb 5, 2008 4:13 am 
Brice FigureauFeb 5, 2008 7:23 am 
Joerg DiekmannFeb 5, 2008 7:54 am 
Brice FigureauFeb 5, 2008 9:04 am 
Joerg DiekmannFeb 6, 2008 4:37 am 
Joerg DiekmannFeb 6, 2008 5:58 am 
Brice FigureauMay 6, 2008 2:38 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [ANN] nginx_uploadprogress_module v0.1Actions...
From:Brice Figureau (bric@public.gmane.org)
Date:Oct 9, 2007 6:46:01 am
List:ru.sysoev.nginx

On Tue, 2007-10-09 at 14:34 +0200, Otto Bretz wrote:

Brice Figureau wrote:

Hi,

I'm proud to announce the availability of the first version of nginx_uploadprogress_module (v0.1).

Very cool, I've been waiting for a module like this one. Today I tried to compile it but I get errors like these: /nginx_uploadprogress_module/ngx_http_uploadprogress_module.c:264:38: macro "ngx_log_debug2" passed 7 arguments, but takes just 6 /nginx_uploadprogress_module/ngx_http_uploadprogress_module.c:548:73: macro "ngx_log_debug2" requires 6 arguments, but only 5 given

/nginx_uploadprogress_module/ngx_http_uploadprogress_module.c:850:34: macro "ngx_log_debug1" passed 6 arguments, but takes just 5 /nginx_uploadprogress_module/ngx_http_uploadprogress_module.c:878:34: macro "ngx_log_debug1" passed 6 arguments, but takes just 5

Any idea what's going wrong? I've tried to build on both OpenBSD and OSX, same errors. The configure scripts detects variadic macros: checking for gcc variadic macros ... found checking for C99 variadic macros ... found and nginx compiles fine if I disable the uploadprogress module.

I'll check tonight (sorry I'm at work atm) what could be the cause, but these are debug messages so you can remove the lines 264, 548, 850 and 878 of ngx_http_uploadprogress_module.c without any problem.

When I released this version last week it compiled fine on OSX (10.4, stock Apple GCC) and a Debian Linux box (gcc 4.2.1).

I'm almost ready to ship version 0.2 with a few enhancements, so I'll check twice this specific issue.

Thanks for notifying me,