objective c - XCode - nested functions are disabled ! -


i used able foreach loops in xcode, after installing sdk 4 errors

error: nested functions disabled, use -fnested-functions re-enable

how can enable nested functions says "use -fnested-", use where? how?

for (myobject *obj : array) {  } 

i think mean:

for (myobject * obj in array) { ... } 

(note use in , not :.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -