[comp.sys.next] deepCopy

jacob@gore.com (Jacob Gore) (09/09/89)

I tried using -deepCopy, like this:
	newText = [oldText deepCopy];
and I got this error:
	Objective C error occurred in object at 0x4423c of class Text
	Graph class not present in this application. Recompile
	the module containing the "@class" statement after inserting
	"ObjGraph" in the class list and relink this application.
	=== stack backtrace (in reverse chronological order) ===
	=== [receiver selector args] @sentFrom[ClassName methodName] ===

I thought @class was a pre-4.0 thing?  I tried adding
	NXLinkUnreferencedClasses(ObjGraph); 
to main(), but it complained about ObjGraph being undefined.  Not finding
it in any of the standard include files, I just put in
	extern id ObjGraph;
but ld couldn't find _ObjGraph either.

What am I doing wrong?  Is -deepCopy supposed to work in 0.9?

Jacob
--
Jacob Gore	Jacob@Gore.Com		{nucsrl,boulder}!gore!jacob