Re: Can't build OCUnit example
Re: Can't build OCUnit example
- Subject: Re: Can't build OCUnit example
- From: Hua Ying Ling <email@hidden>
- Date: Wed, 14 Apr 2004 13:26:00 -0400
On Apr 8, 2004, at 1:37 PM, Hua Ying Ling wrote:
On Apr 7, 2004, at 10:49 PM, Shawn Erickson wrote:
On Apr 7, 2004, at 6:30 PM, Hua Ying Ling wrote:
I downloaded the OCUnit installer package OCUnitRoot, installed and
then tried to build the PersonComplete example but it fails with the
following compile errors:
SenTestCase_Macros.h:18: bad macro argument list
SenTestCase_Macros.h:92: bad macro argument list
SenTestCase_Macros.h:92: redefinition of macro STAssertEquals
SenTestCase.h:18: this is the location of the previous definition
PersonComplete:0: unrecognized option `-fobjc-exceptions'
PersonComplete:0: unrecognized option `-fobjc-exceptions'
<built-in>:1: no macro name given in #define directive
What developer tools are you using to build it with and on what OS
version?
The objc-exceptions is recent addition to the Objective-C runtime, I
believe it requires Mac OS X 10.3 and likely xcode (need current
version of Apple's spin of gcc).
Your comment about the recent addition of the objc-exceptions lead me
to believe that the XCode 1.1 update which I installed through Software
Update was incomplete. Removing the package receipt from
/Library/Receipts then downloading and installing the update by hand
solved my compile problems.
Not sure if this was part of the problem but before the failed Software
Update I had gcc set to gcc 3.1 with gcc_select. Before installing the
update again by hand I switched gcc back to gcc 3.3.
Thanks again
~Hua Ying
_______________________________________________
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.