Re: Newbie question about compiler flag for 10.3 and 10.4
Re: Newbie question about compiler flag for 10.3 and 10.4
- Subject: Re: Newbie question about compiler flag for 10.3 and 10.4
- From: Norio Ota <email@hidden>
- Date: Fri, 3 Feb 2006 16:44:11 +0900
On 2006年 2月 3日 , at 00:50 PM, email@hidden wrote:
On Feb 2, 2006, at 5:57 PM, Norio Ota wrote:
I'd like to compile a file which includes SetFontInfoForSelection
with 10.4u.sdk for i386 and 10.3.sdk for ppc.
I heard the type of the forth argument of the api is deferent
between 10.3 and 10.4, so that when I build it with [ARCHS = ppc
i386], I always get the error.
I think it would be fine if I build the app separately for both
architectures. But I guess there are some good ideas to build it at
once, for instance, putting a compiler flag or doing something that
I don't know.
Would you tell me what compiler flag I should add before the api
and/or how?
You don't need to do anything with your build settings or SDKs. Read
Technical Q&A 1375: http://developer.apple.com/qa/qa2004/qa1375.html
In general, if you have a question about an API, search in Xcode's
Documentation window first. It indexes all the documentation and
technical notes.
Thank you, Chris.
But since the cast didn't help me, I posted the message.
With typecasting to HIObjectRef with 10.3.sdk, ppc version of my app was
built, but if I remain the typecast there, i386 version can't be built.
I got an opposite error to the one I had got without typecast to
HIObjectRef.
So I have to build my app separately. The app which doesn't use the API
can be built for both platforms at a time, but ...
Or am I setting configuration in some stupid manner? How should it be?
Norio
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden