WARNING: Returned non-Integer object from callback

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WARNING: Returned non-Integer object from callback

Chris Uppal-3
Anyone know what this warning is trying to tell me ?

I've just started using the debug output from Dolphin (using the tool at
www.sysinternals.com) and I find that the log is showing thousands and
thousands of these warnings every second.  True, I am doing thousands and
thousands of external calls, so the numbers add up, but is the warning
something I should take seriously ?

TIA.

    -- chris


Reply | Threaded
Open this post in threaded view
|

Re: WARNING: Returned non-Integer object from callback

Blair McGlashan
"Chris Uppal" <[hidden email]> wrote in message
news:[hidden email]...
> Anyone know what this warning is trying to tell me ?
>
> I've just started using the debug output from Dolphin (using the tool at
> www.sysinternals.com) and I find that the log is showing thousands and
> thousands of these warnings every second.  True, I am doing thousands and
> thousands of external calls, so the numbers add up, but is the warning
> something I should take seriously ?

Yes, probably. It indicates that your callback implementation (i.e. the
block) is returning some arbitrary object from a call-in function. This
probably isn't what you intended. If there is no return value (i.e. it is a
void function), then just ensure that the callback block evaluates to nil.
Callback return types other than void and 32-bit integers are not supported.

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: WARNING: Returned non-Integer object from callback

Chris Uppal-3
> Yes, probably. It indicates that [...]

Thanks Blair, fixed now.

    -- chris