Re: FAQ 1.12--auto keyword
- From: rlb@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos)
- Date: Mon, 10 Apr 2006 08:17:56 GMT
"Bill Pursell" <bill.pursell@xxxxxxxxx> wrote:
The faq (question 1.12) states that the keyword "auto" is completely
useless.
However, it is necessary to forward declare a nested function (for
gcc...I'm not sure if this is gcc specific or a language issue.)
There is no such thing as a nested function in ISO C.
If gcc allows nested functions, that's its business. However, if it
requires "auto" to forwardly declare them, this is broken. They should
have chosen "static".
Richard
.
- Follow-Ups:
- Re: FAQ 1.12--auto keyword
- From: Michael Wojcik
- Re: FAQ 1.12--auto keyword
- From: Bill Pursell
- Re: FAQ 1.12--auto keyword
- References:
- FAQ 1.12--auto keyword
- From: Bill Pursell
- FAQ 1.12--auto keyword
- Prev by Date: Re: article - Guidelines for writing efficient C code
- Next by Date: Re: How to read strings from a file with comments
- Previous by thread: Re: FAQ 1.12--auto keyword
- Next by thread: Re: FAQ 1.12--auto keyword
- Index(es):
Relevant Pages
|