Re: Building OmniFrameworks with PB 2.0
Re: Building OmniFrameworks with PB 2.0
- Subject: Re: Building OmniFrameworks with PB 2.0
- From: Shawn Erickson <email@hidden>
- Date: Sun, 5 May 2002 16:28:55 -0700
On Sunday, May 5, 2002, at 04:02 PM, Stevos wrote:
On 5/5/02 4:46 PM, "Shawn Erickson" <email@hidden> wrote:
On Sunday, May 5, 2002, at 02:25 PM, Stevos wrote:
Yuck. I'm getting errors.. And I have no idea why! I tried to follow
the
thing @ cocoadevcentral, and I am pretty sure that I did that right...
Any thoughts? I started with OmniBase and it will not compile.
Hard for us to help without more information about the errors you are
seeing. I could guess but...
Well, have you gotten it to compile? I'm wondering If it needs to be
updated
for PB 2 or something.
Nope I hadn't tried but now I just did (at least OmniBase). Are you
getting errors like the following?
OBUtilities.m:96: illegal expression, found `@'
OBUtilities.m:97: illegal expression, found `@'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
OBUtilities.m:96: invalid identifier `@'
OBUtilities.m:96: `@' undeclared here (not in a function)
OBUtilities.m:96: parse error before character constant
OBUtilities.m:97: invalid identifier `@'
OBUtilities.m:97: `@' undeclared here (not in a function)
OBUtilities.m:97: parse error before character constant
It looks like the following is the cause of the issue.
#if defined(NeXT_PDO) || defined(sun)
#define NSSTRINGIFY(name) @ ## #name
#else
// cpp-precomp has a bug in it that makes us have to do this.
#define NSSTRINGIFY(name) @ ## '"' ## name ## '"' <<<<< THIS
#endif
If I replace the above with just the following things compile.
#define NSSTRINGIFY(name) @ ## #name
I guess the precomp used in PB 2 is different/enhanced some how.
-Shawn
_______________________________________________
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.