From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19891 invoked by alias); 15 May 2007 11:14:08 -0000 Received: (qmail 19882 invoked by uid 22791); 15 May 2007 11:14:07 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 May 2007 11:14:03 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HnuyO-0002ng-3W for gcc-help@gcc.gnu.org; Tue, 15 May 2007 13:13:44 +0200 Received: from bordeaux.rn.informatics.scitech.susx.ac.uk ([139.184.48.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 May 2007 13:13:44 +0200 Received: from lionelbuk by bordeaux.rn.informatics.scitech.susx.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 May 2007 13:13:44 +0200 To: gcc-help@gcc.gnu.org From: Lionel B Subject: Re: errors in porting on gcc 3.4.6 from gcc 3.2.3 Date: Tue, 15 May 2007 11:14:00 -0000 Message-ID: References: <10620590.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Pan/0.128 (SR/CL: Leitmotiv: Toynbee Idea) 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/msg00145.txt.bz2 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