From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15565 invoked by alias); 17 Nov 2008 06:07:00 -0000 Received: (qmail 15535 invoked by uid 22791); 17 Nov 2008 06:06:59 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Nov 2008 06:06:19 +0000 Received: from spaceape24.eur.corp.google.com (spaceape24.eur.corp.google.com [172.28.16.76]) by smtp-out.google.com with ESMTP id mAH66HNH001743; Sun, 16 Nov 2008 22:06:17 -0800 Received: from smtp.corp.google.com (spacemonkey1.corp.google.com [192.168.120.115]) by spaceape24.eur.corp.google.com with ESMTP id mAH66E7x026703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 16 Nov 2008 22:06:15 -0800 Received: from localhost.localdomain.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net [71.133.8.30]) (authenticated bits=0) by smtp.corp.google.com (8.13.8/8.13.8) with ESMTP id mAH66Dqb012391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 16 Nov 2008 22:06:13 -0800 To: Denisius Cc: gcc-help@gcc.gnu.org Subject: Re: GCC Error References: <20528286.post@talk.nabble.com> From: Ian Lance Taylor Date: Mon, 17 Nov 2008 09:04:00 -0000 In-Reply-To: <20528286.post@talk.nabble.com> (Denisius's message of "Sun\, 16 Nov 2008 10\:25\:09 -0800 \(PST\)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 2008-11/txt/msg00197.txt.bz2 Denisius writes: > Whenever I try to compile I get the following error: > > "In file included from act_comm.cpp:26: > lockers.h:81: error: extra qualification =C3=A2lockers_object::=C3=A2 on = member > =C3=A2get_next_free_locker_number=C3=A2" > > I am using GCC 4.3. There is little we can do to help you with so little information. That said, the most likely problem is that the code is doing something like this: class C { void C::fn(); } That is invalid C++ syntax, but older versions of gcc--before gcc 3.4, I think--used to accept it. The "C::" must be omitted. Ian