• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re Re "vector" Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Re Re "vector" Framework: HELP
      • From: Lionel Lacassagne <email@hidden>
References: 
 >Re Re "vector" Framework (From: Lionel Lacassagne <email@hidden>)

  • Prev by Date: Re: breakpoint in szone_error
  • Next by Date: link errors with 10.3.9
  • Previous by thread: Re Re "vector" Framework
  • Next by thread: Re: Re Re "vector" Framework: HELP
  • Index(es):
    • Date
    • Thread