[Bug c++/21837] C++/C99 standard violation in for loop

2005-05-31 Thread ahelm at gmx dot net
--- Additional Comments From ahelm at gmx dot net 2005-05-31 17:41 --- Subject: Re: C++/C99 standard violation in for loop At 12:48 31/05/2005, joseph at codesourcery dot com wrote: > >--- Additional Comments From joseph at codesourcery dot com 2005-05-31 >11:48 --- >Subject:

[Bug c++/21837] C++/C99 standard violation in for loop

2005-05-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-31 13:16 --- This is a dup of bug 2288. C99 allows this as mentioned multiple times. *** This bug has been marked as a duplicate of 2288 *** -- What|Removed |Added -

[Bug c++/21837] C++/C99 standard violation in for loop

2005-05-31 Thread joseph at codesourcery dot com
--- Additional Comments From joseph at codesourcery dot com 2005-05-31 11:48 --- Subject: Re: New: C++/C99 standard violation in for loop On Tue, 31 May 2005, ahelm at gmx dot net wrote: > for(int i=2;i<4;i++) > { > int j = i; > int i; > i = 555; > printf("%d %d\n"

[Bug c++/21837] C++/C99 standard violation in for loop

2005-05-31 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2005-05-31 11:16 --- Subject: Re: New: C++/C99 standard violation in for loop "ahelm at gmx dot net" <[EMAIL PROTECTED]> writes: | C++ standard quote: | | 3.3.2, paragraph 4: | Names declared in the for-init-statement,