• 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-4.0.1 = nested functions are not supported on MacOSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc-4.0.1 = nested functions are not supported on MacOSX?


  • Subject: Re: gcc-4.0.1 = nested functions are not supported on MacOSX?
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 11 Nov 2005 02:10:54 -0500

Well, maybe when Apple posts the sources for their gcc-4.0.1, we'll find some juicy gossip in it.  Maybe not ... now that I've mentioned the possibility :)

Daniel

On Nov 11, 2005, at 2:04 AM, Daryn wrote:

I also discovered that this is (mis)documented in the standalone pdf release notes, but not documented within the release notes installed by Xcode 2.2.  Per the standalone release notes:

"Nested Function support: We are deprecating nested functions (a gcc extension to C) in this release.  For now, nested functions will cause a warning."

Unfortunately, it's not a warning, it's an error.

Removing gnu extensions from a gnu compiler, due to an Apple stack mangling bug with CFM, seems quite odd to me.

Daryn

On Nov 11, 2005, at 12:52 AM, Daniel Jalkut wrote:

I wonder if it has something to do with the discovery alluded to in this thread:

http://lists.apple.com/archives/carbon-dev/2005/Aug/msg01482.html

Apparently nested functions in a MachO app combined with a CFM plugin brought in to the process would cause major mayhem.

Daniel

On Nov 11, 2005, at 1:24 AM, Daryn wrote:

The new xcode 2.2's gcc 4.0.1 compiler update has apparently dropped support for nested functions.  Apple's release notes for gcc do not even mention this change... :(

Before I downgrade to gcc 4.0, is there a command line option to re-enable nested functions?

Why were they disabled?  Are they going to be re-enabled?



 _______________________________________________
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-4.0.1 = nested functions are not supported on MacOSX?
      • From: Daryn <email@hidden>
References: 
 >gcc-4.0.1 = nested functions are not supported on MacOSX? (From: Daryn <email@hidden>)
 >Re: gcc-4.0.1 = nested functions are not supported on MacOSX? (From: Daniel Jalkut <email@hidden>)
 >Re: gcc-4.0.1 = nested functions are not supported on MacOSX? (From: Daryn <email@hidden>)

  • Prev by Date: Re: gcc-4.0.1 = nested functions are not supported on MacOSX?
  • Next by Date: Re: gcc-4.0.1 = nested functions are not supported on MacOSX?
  • Previous by thread: Re: gcc-4.0.1 = nested functions are not supported on MacOSX?
  • Next by thread: Re: gcc-4.0.1 = nested functions are not supported on MacOSX?
  • Index(es):
    • Date
    • Thread