On Tue, Oct 30, 2001 at 03:23:16AM -0500, Glenn Maynard wrote:
> Looks like the compiler that documentation was for--I don't have access
> to one of these to write an autoconf test, though.
I'm trying to understand *why* you need an autoconf test for this?
I can't find the stuff in the archives yet, and have only been sort of
following this thread.
But, if I understand correctly, the old code did something like
{
for (int i; ...) {}
use[i].here;
}
And the new code does
{
int i;
for (i;...) {}
use[i].here;
}
However, the first version is broken by definition of the C++ standard.
So, even though it might work on some older compilers, it should not be
expected. The second version will work on all compilers, correct?
mrc
--
Mike Castle [EMAIL PROTECTED] www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc