• 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
error: nested functions are disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: nested functions are disabled


  • Subject: error: nested functions are disabled
  • From: "Ken G. Brown" <email@hidden>
  • Date: Tue, 6 May 2008 09:30:59 -0600

For some reason I started getting this error in a project that was compiling fine before I added a couple functions:
error: nested functions are disabled, use -fnested-functions to re-enable

I don't believe I have any nested functions. And commenting out the functions I added does not help.
And I don't know where to re-enable the nested functions or if that is a good idea.
Can anyone advise on this?

I am also getting lots of warnings like:
warning: incompatible implicit declaration of built-in function 'strncat' when compiling example code.
Can anyone suggest what to look for in order to avoid these warnings?

This is with Xcode 3.0, GCC 4.0, plain C code for a command line program.

Thx for any tips,
Ken G. Brown
 _______________________________________________
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

  • Prev by Date: Re: Weird Xcode alert
  • Next by Date: Re: Weird Xcode alert
  • Previous by thread: Re: Weird Xcode alert
  • Next by thread: Re: error: nested functions are disabled
  • Index(es):
    • Date
    • Thread