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

Re: error: nested functions are disabled


  • Subject: Re: error: nested functions are disabled
  • From: "Mark Wagner" <email@hidden>
  • Date: Tue, 6 May 2008 11:36:08 -0700

On 5/6/08, Ken G. Brown <email@hidden> wrote:
> 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.

Odds are you've got a missing close bracket somewhere.

>  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?

Perhaps you should #include the header files declaring those functions?

--
Mark Wagner
 _______________________________________________
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: Inspecting Obj-C method parameters from gdb
  • Previous by thread: Re: error: nested functions are disabled
  • Next by thread: Re: error: nested functions are disabled
  • Index(es):
    • Date
    • Thread