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

gcc and the phantom alloca()?


  • Subject: gcc and the phantom alloca()?
  • From: "Tom Harrington" <email@hidden>
  • Date: Fri, 9 Jun 2006 12:16:35 -0600

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: gcc and the phantom alloca()?
      • From: David Alger <email@hidden>
  • Prev by Date: Re: no rule to process file
  • Next by Date: Xcode's 'Find in Files' UI problems/questions
  • Previous by thread: Re: Extending Xcode...
  • Next by thread: Re: gcc and the phantom alloca()?
  • Index(es):
    • Date
    • Thread