Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unfortunately, nested functions are one of the few GCC extensions not implemented by clang, as such this really only works on GCC.


If this proposal is adopted in C2Y, surely Clang will implement it.


Most likely yes, although being on ISO doesn't mean much, there are plenty of examples of features that not every compiler fully supports.


I've used blocks with a dummy RTL and extracted the callback from the block descriptor... it worked.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: