Re: Re Re "vector" Framework
Re: Re Re "vector" Framework
- Subject: Re: Re Re "vector" Framework
- From: Fritz Anderson <email@hidden>
- Date: Thu, 9 Feb 2006 15:32:33 -0600
On 9 Feb 2006, at 6:21 AM, Lionel Lacassagne wrote:
As you can see below in a dummy Framework, I included
Accelerate.framework twice (to be sure that the typedef will be
handled properly)
I think you are missing an important point... Including the
Accelerate framework does not enable AltiVec parsing in your code.
GCC must be run with the -faltivec flag, which you can set with the
target Build panel with the Enable AltiVec Extensions checkbox (or
for all targets that don't say otherwise, in the project Build panel).
If -faltivec is not present, you will get a syntax error when you use
the vector keyword.
The build is correct in debug, but not in Release
This suggests to me that the Enable AltiVec Extensions has been set
for the Debug configuration, but not the Release configuration. Be
sure to check it when "All Configurations" appears in the popup menu
at the top of the Build panel.
-- F
--
Fritz Anderson -- http://www.manoverboard.org/
Consulting Programmer -- http://resume.manoverboard.org/
Step into Xcode, Now Available -- http://six.manoverboard.org/
_______________________________________________
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