Re: error: nested functions are disabled
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