This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c/8754: Allows illegal code


>     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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]