Re: Does GCC C support nested function definitions

2009-02-17 Thread Robert Dewar
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

Re: Does GCC C support nested function definitions

2009-02-17 Thread H.J. Lu
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

Re: Does GCC C support nested function definitions

2009-02-17 Thread Arnaud Charlet
> 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