Re: Release build fails
Re: Release build fails
- Subject: Re: Release build fails
- From: Greg Guerin <email@hidden>
- Date: Tue, 9 Oct 2007 09:48:29 -0700
Michael McLaughlin wrote:
>union W128_T {
> vector unsigned int s; <-- error: parse error before vector
> uint32_t u[4];
>};
>
>The most relevant configuration settings are C99 and Enable Altivec
>Extensions, the same in both builds.
>
>Could anyone suggest where I might start looking?
>
>Note: I am using Xcode 2.4.1 and OS X 10.4.10.
What CPU arch are you compiling on? My guess: ppc.
A Debug build defaults to native arch only (e.g. ppc). AltiVec is PPC-only
technology.
A Release build defaults to ppc and i386 archs. I suspect the i386 compile
doesn't like the AltiVec type 'vector'.
Changing the Architectures setting for the Release build to only compile
for ppc would solve this problem. Converting the source to not be
AltiVec-specific would also solve it, assuming 'vector' is AltiVec-specific.
If I'm wrong, please post a detailed build transcript, or at least the part
right before the error occurs. A telltale clue would be a CompileC step
having -arch i386 as the point of failure.
-- GG
_______________________________________________
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