• 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: Nick Zitzmann <email@hidden>
  • Date: Thu, 10 Nov 2005 23:58:01 -0700


On Nov 10, 2005, at 11:24 PM, 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... :(

They were in the online read-me file:

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

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

I don't think so. But the project should still build, unless you activated treating warnings as errors.


Why were they disabled?

Because they were a GCC extension, and the GCC developers have been trying to make GCC more compliant with standards. That means deprecating GCC extensions to the supported languages.


Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

_______________________________________________
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: Daniel Jalkut <email@hidden>
References: 
 >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