------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-26 11:57 ------- No static means something werid in nested functions (really it means nothing so that is why it was removed). The correct way to fix the missing declarations warning is the following: int main (void) {
int a; auto int nested (int); // <-----this int nested (int b) { return b + 2; } return (a + nested (a)); } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19635