simple for loop on g++ 4.4.3

2010-10-28 Thread eric lin
dear linux(or g++) user/programer with c++: my name is eric, when I use most current g++ 4.3.3 on ubuntu to test 2 simple c++ programs, one have compiler error, // formore.cpp -- more looping with for #include iostream using namespace std; const int ArSize = 16; //

Re: simple for loop on g++ 4.4.3

2010-10-28 Thread Jonathan Wakely
On 28 October 2010 23:41, eric lin wrote:  you can see both programs, their for loop are very similar(or the same) for (int i=0 but why first , and second programs can not compile but the third one is OK ? This mailing list is for development of gcc, not help using it, please send these