From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29583 invoked by alias); 15 May 2007 11:49:08 -0000 Received: (qmail 29571 invoked by uid 22791); 15 May 2007 11:49:07 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 May 2007 11:49:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1HnvWY-0007vB-Fc for gcc-help@gcc.gnu.org; Tue, 15 May 2007 04:49:02 -0700 Message-ID: <10621291.post@talk.nabble.com> Date: Tue, 15 May 2007 11:49:00 -0000 From: kushwaha To: gcc-help@gcc.gnu.org Subject: Re: errors in porting on gcc 3.4.6 from gcc 3.2.3 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: vaibhav.kushwaha@gmail.com References: <10620590.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00146.txt.bz2 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: >=20 > On Tue, 15 May 2007 03:47:03 -0700, kushwaha wrote: >=20 >> hi all.. >>=20 >> Following is the part of a code giving error with gcc 3.4.6 which >> previously compiled with gcc 3.2.3. >=20 > Are you sure...? Compiling your code (gcc 4.1.2) I get: >=20 > error: =E2=80=98class HString_Key=E2=80=99 has no member named =E2=80=98m= pcCallId=E2=80=99 > error: =E2=80=98class HString_Key=E2=80=99 has no member named =E2=80=98m= ulHashId=E2=80=99 >=20 > from these lines: >=20 > key.mpcCallId =3D apcCallId; > key.mulHashId =3D apcHashId; >=20 > and sure enough, your class template HString_Key does not contain those=20 > members. I don't see how this could have compiled with gcc 3.2.3. Didn't= =20 > you mean: >=20 > key.mpcId =3D apcCallId; > key.mulId =3D apcHashId; >=20 > in Equal_to_HString_Key::Equal_to_HString_Key(...) ? Compiles ok for me=20 > with this change. >=20 > [...] >=20 > --=20 > Lionel B >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/errors-in-porting-on-gc= c-3.4.6-from-gcc-3.2.3-tf3757763.html#a10621291 Sent from the gcc - Help mailing list archive at Nabble.com.