tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 4.0 vs nested functions

On Tue, Jan 22, 2008 at 11:02:12AM -0500, der Mouse wrote:
 > I use nested functions moderately heavily in my code.  Under 1.4T, I
 > defined them with "static".  Under 3.1, I used "auto".
 > Under 4.0, there appears to be no way to define them without upsetting
 > -Wmissing-prototypes, except with a redundant prototype declaration.
 > [...]
 > What's my correct action here?  Shound I generate a NetBSD PR?  Should
 > I send mail to gcc-bugs anyway?

I would try under stock gcc just in case, then complain to the gcc

However, you may not get much traction because nested functions are
not, after all, C.

David A. Holland

Home | Main Index | Thread Index | Old Index