You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Stefan Fritsch <sf...@sfritsch.de> on 2011/02/21 22:14:21 UTC

Re: svn commit: r1072937 - /apr/apr/trunk/include/apr_hooks.h

On Monday 21 February 2011, trawick@apache.org wrote:
> Author: trawick
> Date: Mon Feb 21 12:07:33 2011
> New Revision: 1072937
> 
> URL: http://svn.apache.org/viewvc?rev=1072937&view=rev
> Log:
> add hook function args to the hook probe invocations
> 
> Modified:
>     apr/apr/trunk/include/apr_hooks.h
> 
This breaks compiling of testhooks.c:

testhooks.c:51:1: error: macro "APR_HOOK_PROBE_ENTRY" passed 4 arguments, but takes just 3
testhooks.c: In function 'test_run_toyhook':
testhooks.c:51: error: 'APR_HOOK_PROBE_ENTRY' undeclared (first use in this function)
testhooks.c:51: error: (Each undeclared identifier is reported only once
testhooks.c:51: error: for each function it appears in.)
testhooks.c:51:1: error: macro "APR_HOOK_PROBE_INVOKE" passed 5 arguments, but takes just 4
testhooks.c:51: error: 'APR_HOOK_PROBE_INVOKE' undeclared (first use in this function)
testhooks.c:51:1: error: macro "APR_HOOK_PROBE_COMPLETE" passed 6 arguments, but takes just 5
testhooks.c:51: error: 'APR_HOOK_PROBE_COMPLETE' undeclared (first use in this function)
testhooks.c:51:1: error: macro "APR_HOOK_PROBE_RETURN" passed 5 arguments, but takes just 4
testhooks.c:51: error: 'APR_HOOK_PROBE_RETURN' undeclared (first use in this function)

Re: svn commit: r1072937 - /apr/apr/trunk/include/apr_hooks.h

Posted by Jeff Trawick <tr...@gmail.com>.
On Mon, Feb 21, 2011 at 4:14 PM, Stefan Fritsch <sf...@sfritsch.de> wrote:
> On Monday 21 February 2011, trawick@apache.org wrote:
>> Author: trawick
>> Date: Mon Feb 21 12:07:33 2011
>> New Revision: 1072937
>>
>> URL: http://svn.apache.org/viewvc?rev=1072937&view=rev
>> Log:
>> add hook function args to the hook probe invocations
>>
>> Modified:
>>     apr/apr/trunk/include/apr_hooks.h
>>
> This breaks compiling of testhooks.c:

thanks/sorry for the aggravation!