> OWObjectTree.m:24: `pdo_mutex' undeclared (first use this
> function)

The source code line in question (OWObjectTree.m:24) says:

    OFSimpleLockInit(&mutex);

and the instance variable in question, mutex, is defined in  
OWObjectTree.h as

    OFSimpleLockType mutex;

So, the problem is that between the class declaration in  
OWObjectTree.h and the -init method in OWObjectTree.m some header  
file is redefining mutex to be pdo_mutex.

The simplest, safest solution would probably be to rename the  
instance variable "mutex" to something else (say, "objectTreeMutex").

                                Ken

Reply via email to