H.J. Lu wrote:
On Tue, Feb 17, 2009 at 9:55 AM, Arnaud Charlet wrote:
Is it intended that the GCC C compiler support nested functions?
Yes, it's an extension provided by GNU C, not part of ISO C.
Although nested functions should be avoided for portability,
but sometimes nested functions are
On Tue, Feb 17, 2009 at 9:55 AM, Arnaud Charlet wrote:
>> Is it intended that the GCC C compiler support nested functions?
>
> Yes, it's an extension provided by GNU C, not part of ISO C.
>
Although nested functions should be avoided for portability,
but sometimes nested functions are very useful
> Is it intended that the GCC C compiler support nested functions?
Yes, it's an extension provided by GNU C, not part of ISO C.
Arno
Is it intended that the GCC C compiler support nested functions?
I would like to know so that I can determine whether to file bug reports
against other projects for nested function use.
Begin Nested Function example
void foo(void) {
void bar(void) {
puts("Bar");
}