Re: Building for 10.4 on 10.6
Re: Building for 10.4 on 10.6
- Subject: Re: Building for 10.4 on 10.6
- From: William Stewart <email@hidden>
- Date: Mon, 14 Jun 2010 12:30:07 -0700
In CoreAudio/PublicUtility there is a CAAtomic.h file - I think that might offer you some help here
On Jun 10, 2010, at 12:57 AM, Moi Moi wrote:
> Hi,
>
> I'd like to build an Audio Unit using the 10.4 SDK (and hence GCC 4.0)
> - for my plug-in to be able to run on any > 10.4 version of OS X - and
> I'd like to do it on a 10.6 machine (hence, with the audio unit sdk
> that was shipped along) .
>
> I am having some issues with OSAtomicOr32Barrier and
> OsAtomicAnd32Barrier as it looks that their prototype has slightly
> changed between 10.4 and 10.5+, from
>
> int32_t OSAtomicAdd32Barrier( int32_t theAmount, int32_t *theValue );
>
> to
>
> int32_t OSAtomicAdd32Barrier( int32_t __theAmount, volatile int32_t
> *__theValue );.
>
> As a consequence, I am getting invalid conversions in AUBase.cpp,
> AUDispatch.cpp and some other files.
>
>
> Is this a bad thing to do (build on 10.6 for 10.4)? How can I do to
> build my AU for 10.4 and the newer OS?
>
>
> Thank you!
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden