On Tue, Mar 22, 2022 at 06:17:50PM +0100, Rhialto wrote: > On Sun 20 Mar 2022 at 23:17:57 -0400, Mouse wrote: > > clang is - or at least was last I checked - under the impression that > > nested functions are little-used and thus are not worth supporting. > > I guess they can think so because nested functions are a gcc extension. > Quite a useful one, I think, having been taught programming with Algol > 68 which of course does have nested functions; but an extension > nevertheless.
AFAIR, it comes for GCC's support for pascal which has nested functions defined. Its just that for 'C' it was an easy addition since the compiler already suported it. Reinoud