Hi All,
I have some code that used to compile and work on 10.5.8,
but since i upgraded yesterday to 10.6.4 it is having problems.
I have classes that inherit from Object. (They do not inherit
from NSObject because i want them to be portable to other
systems, and also, i have a lot of similar code that i may
attempt to ressurect.)
Object very clearly declares +alloc in /usr/include/objc/Object.h,
on line 67, in fact.
My class, which compiled without error or warning a few days ago
in 10.5.8, inherits from Object (not NSObject). Now when i try
to compile it, i get warnings
'....' may not respond to '+alloc' (where the ellipsis is where my
class name goes).
Other warnings, even more alarming, that i get are:
'Object' may not respond to '-init'
My compile command is
gcc -c -O0 -Wall -std=c99 ClassName.m
(where ClassName.m is the name of my class).
I can create a small complete test case if it would be helpful.
Thanks in advance for any info.
dan
(PS: i posted this in darwin-dev. I was advised that this would be
a better forum. So if you also read darwin-dev, i'm sorry for
double posting.)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden