From owner-freebsd-stable@FreeBSD.ORG Tue Apr 29 18:13:53 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5C6237B401 for ; Tue, 29 Apr 2003 18:13:53 -0700 (PDT) Received: from ns1.itga.com.au (ns1.itga.com.au [202.53.40.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F9F43F85 for ; Tue, 29 Apr 2003 18:13:52 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns1.itga.com.au (8.12.9/8.12.9) with ESMTP id h3U1Dmm2032493; Wed, 30 Apr 2003 11:13:48 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id LAA04296; Wed, 30 Apr 2003 11:13:47 +1000 (EST) Message-Id: <200304300113.LAA04296@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: Paul Marquis In-reply-to: Your message of Tue, 29 Apr 2003 15:00:53 -0400. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Apr 2003 11:13:47 +1000 Sender: gnb@itga.com.au cc: freebsd-stable@freebsd.org Subject: Re: Bug in g++ 2.95.4 (Pointer to member functions) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 01:13:54 -0000 pmarquis@pobox.com said: > I think your public methods for the class Class should be static. Well, you could make them static but that changes the meaning of the program. The original was a valid (if unusual) design and should be accepted by the compiler. The compiler is not maintained by FreeBSD, so C++ bugs should be reported to the egcs web page. But I suspect they'll say "fixed in egcs 3.x" so there's probably not much that can be done for FreeBSD 4 other than install and use the gcc33 port for your application (and all the libraries linked with it!) Greg.