This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8754: Allows illegal code
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 29 Nov 2002 14:16:01 -0000
- Subject: Re: c/8754: Allows illegal code
- Reply-to: Petter Reinholdtsen <pere at hungry dot com>
The following reply was made to PR c/8754; it has been noted by GNATS.
From: Petter Reinholdtsen <pere@hungry.com>
To: reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c/8754: Allows illegal code
Date: Fri, 29 Nov 2002 15:14:10 +0100
> Not a bug.
> Nested functions are a GNU extension, see
> http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/Nested-Functions.html
And function overloading for main() is well defined as well?
Reimplementing main() inside main() is a bug, and should be flagged as
such.