Re: error: nested functions are disabled
Re: error: nested functions are disabled
- Subject: Re: error: nested functions are disabled
- From: "Ken G. Brown" <email@hidden>
- Date: Tue, 6 May 2008 16:57:34 -0600
>Date: Tue, 6 May 2008 11:36:08 -0700
>From: "Mark Wagner" <email@hidden>
>Subject: Re: error: nested functions are disabled
><>> 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.
You are absolutely right!
Just found a backwards } in an if statement. Sighhh...
Found it by doing Balance from the Contextual menu to highlight what the compiler thought was the section being enclosed.
I was sure I had done all that before too but somehow missed the nasty little @#!$! :)
Had to step away from it for awhile and come back fresh.
Thx,
Ken
> > 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