Of course, I am including libxorp/callback.hh.

By the way, I already resolved the problem. The problem was the
references I used as input arguments for the callback. I just changed
them into values.

Thanks,
Selcuk

On 6/27/08, Bruce M. Simpson <[EMAIL PROTECTED]> wrote:
> Selçuk Cevher wrote:
>> ...
>> Here is the error I get:
>>
>> error: no matching function for call to `callback(XrlshaNode* const,
>> void (XrlshaNode::*)(uint32_t&, uint32_t&), uint32_t&, uint32_t&)'
>>
>> Should I overload callback() function ? If yes, which xorp files
>> should I possibly modify ?
>>
>
> Are you including libxorp/callback.hh?
>
> You're using less than the maximum number of arguments -- only 2 bound
> arguments in this case -- so that isn't the problem; however I'm not
> sure about references for callback arguments, pass-by-value is known to
> work. Try using pointers instead?
>
>

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to