Re: confusing error
Re: confusing error
- Subject: Re: confusing error
- From: Greg Guerin <email@hidden>
- Date: Sat, 27 Sep 2008 18:14:51 -0700
Roland Silver wrote:
int foobar(void) {return 0; }
error: nested functions are disabled, use ...
error: static declaration of 'foobar' follows non-static declaration
Aa "nested functions are disabled" error is often due to a missing }
somewhere prior. A spurious { will also cause this error.
Check your headers, such as Notify.h or Mark.h, though it might be
any of the imported .h's in Notify.m. I'd use the matching-brace
selection feature of Xcode's editor to test each { and }.
-- GG
_______________________________________________
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