• 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: gcc and the phantom alloca()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc and the phantom alloca()?


  • Subject: Re: gcc and the phantom alloca()?
  • From: David Alger <email@hidden>
  • Date: Fri, 9 Jun 2006 17:54:45 -0500

Try preprocessing the file via the contextual menu and then look at the results. This will show you anything that is being defined in.

David Alger

Family Friendly Software, LLC
http://www.familyfriendlysoftware.com



On Jun 9, 2006, at 1:16 PM, Tom Harrington wrote:

I have a function I'd like to inline, but gcc complains that the
function "can never be inlined because it uses alloca (override using
the always_inline attribute)".

Only... it doesn't use alloca, anywhere.  Where would gcc be getting
this from, and what can I do about it?  I tried "gcc -E -dD" on the
source file in the hope of rooting out something getting #defined in
or something, but I didn't find any alloca there.

The source file in question is a ".m", with the inline defined in an
imported header.  The function in question has a bunch of CF calls.

--
Tom Harrington
email@hidden
AIM: atomicbird1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40millertel.net


This email sent to email@hidden


_______________________________________________ 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: gcc and the phantom alloca()?
      • From: John Lunt <email@hidden>
References: 
 >gcc and the phantom alloca()? (From: "Tom Harrington" <email@hidden>)

  • Prev by Date: Re: automagic header dependencies
  • Next by Date: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
  • Previous by thread: gcc and the phantom alloca()?
  • Next by thread: Re: gcc and the phantom alloca()?
  • Index(es):
    • Date
    • Thread