Skip navigation.
 
mlRe: GDB says not an object
FROM : Jens Alfke
DATE : Sat Mar 29 17:48:10 2008

On 29 Mar '08, at 5:15 AM, Nick Rogers wrote:

> currentNode is an NodeType*
> and [currentNode key:0] returns an ItemType*, which has a method -
> (Uint32)keyField.
> but when I use:
> [[currentNode key:0] keyField]
> GDB tells that its not an object.


GDB as in the debugger? What's the exact command you're entering?
Or do you mean GCC, the compiler? If so, could you show the exact line 
of code, and the declarations of the methods you're calling?

—Jens

Related mailsAuthorDate
mlGDB says not an object Nick Rogers Mar 29, 13:15
mlRe: GDB says not an object Jens Alfke Mar 29, 17:48