Subject: Re: upgrade gcc to 2.7?
To: Kenneth Stailey <kstailey@owl.dol-esa.gov>
From: John F. Woods <jfw@jfwhome.funhouse.com>
List: current-users
Date: 08/04/1995 19:09:43
> We missed out on 2.6.3 and libg++ 2.6.2. As a result I erased the
> bogus libg++ from my NetBSD source tree and installed the 2.6.2 one.
That's the one with the scoping problem, i.e.
int variable = 1;
main() {
int variable = 2;
{ extern int variable; /* must be the global */
printf("%d\n", variable);
}
}
prints 2 rather than the correct 1? Yeah, I sure regret not having the core
team integrate GCC releases seconds after they hit prep...