Re:Bad Assembly Code Generation?[solved]
Re:Bad Assembly Code Generation?[solved]
- Subject: Re:Bad Assembly Code Generation?[solved]
- From: Joe Osborn <email@hidden>
- Date: Sun, 1 Sep 2002 00:50:44 -0500
Let me first say that I am a fool.
Let me second say that I really, really wish objective-c were a
typeless language. Those two sentences out of the way...
GCC was incapable of generating proper assembly code because i didn't
declare the methods, which took and returned c data types, in my
@interfaces. So it assumed objects were involved(but wouldn't
something like that(that being [self setBar:[self bar]+1]; throw an
'invalid operand to binary +' or some such? ah well). Anyway, it's all
working just hunky-dory now.
I'm going to go off and be embarrassed for a while.
but hey, at least it works now.
--joie
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.