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

Is that C language features or compiler-specific extensions? Arguably, sticking to the standard is actually the better alternative here in terms of portability.


You're right - it's a compiler extension to a language (apparently) called "GNU C"[1]: http://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html

Seems like a very nice feature though.

[1]: First time I've heard this term. I'm not sure how I feel about it.


You can usually use "-std=c99" to ban features of concern.




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

Search: