yes.. the code is correct and getting compiled on gcc 3.2.3. i just want to know is there is any option to avoid that strict checking on gcc 3.4.6 as i can't change the code. Lionel B wrote: > > On Tue, 15 May 2007 03:47:03 -0700, kushwaha wrote: > >> hi all.. >> >> Following is the part of a code giving error with gcc 3.4.6 which >> previously compiled with gcc 3.2.3. > > Are you sure...? Compiling your code (gcc 4.1.2) I get: > > error: ‘class HString_Key’ has no member named ‘mpcCallId’ > error: ‘class HString_Key’ has no member named ‘mulHashId’ > > from these lines: > > key.mpcCallId = apcCallId; > key.mulHashId = apcHashId; > > and sure enough, your class template HString_Key does not contain those > members. I don't see how this could have compiled with gcc 3.2.3. Didn't > you mean: > > key.mpcId = apcCallId; > key.mulId = apcHashId; > > in Equal_to_HString_Key::Equal_to_HString_Key(...) ? Compiles ok for me > with this change. > > [...] > > -- > Lionel B > > > -- View this message in context: http://www.nabble.com/errors-in-porting-on-gcc-3.4.6-from-gcc-3.2.3-tf3757763.html#a10621291 Sent from the gcc - Help mailing list archive at Nabble.com.