Re: error when porting from g++ for hp-ux to g++ for linux

2007-01-12 Thread Ian Lance Taylor
"Puetz, Oliver P11M22" <[EMAIL PROTECTED]> writes: > here's a little sample code, which could be compiled with g++ 3.01 under > hp-ux, but when compiled with g++ 3.4.6 under linux, following error > occured: > > sample.c: In member function 'T C2::PROC(T)': > sample.c:19: error: 'c1i' was not d

error when porting from g++ for hp-ux to g++ for linux

2007-01-12 Thread Puetz, Oliver P11M22
Hi, here's a little sample code, which could be compiled with g++ 3.01 under hp-ux, but when compiled with g++ 3.4.6 under linux, following error occured: sample.c: In member function 'T C2::PROC(T)': sample.c:19: error: 'c1i' was not declared in this scope Compilation was executed with "g++