Re: error: nested functions are disabled
Re: error: nested functions are disabled
- Subject: Re: error: nested functions are disabled
- From: "Clark Cox" <email@hidden>
- Date: Tue, 6 May 2008 10:26:00 -0700
On Tue, May 6, 2008 at 8:30 AM, 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
What is the actual code that is leading to this error?
>
> 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?
Again, without the source, nothing much can be said definitively.
Please post a few lines to either side of the error.
>
> This is with Xcode 3.0, GCC 4.0, plain C code for a command line program.
>
> Thx for any tips,
> Ken G. Brown
--
Clark S. Cox III
email@hidden
_______________________________________________
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