From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: nested functions Date: 9 Jul 2003 05:56:53 GMT Organization: Aachen University of Technology (RWTH) Lines: 16 Message-ID: References: <26365 DOT 1057693929 AT www22 DOT gmx DOT net> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 1057730213 11750 137.226.32.75 (9 Jul 2003 05:56:53 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 9 Jul 2003 05:56:53 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ahelm AT gmx DOT net wrote: > Could somebody enlighten me whether nested functions are a GCC or DJGPP > extension or whether they are actually part of the C standard. A GCC extension, as clearly documented here: info gcc "C Extensions" "Nested Functions" Another way you can tell is that it will fail to compile if you put GCC into ANSI-C-only mode (gcc -ansi -pedantic for GCC 2, something else for GCC 3.x). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.