From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13659 invoked by alias); 12 Jan 2007 20:17:26 -0000 Received: (qmail 13634 invoked by uid 22791); 12 Jan 2007 20:17:23 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 12 Jan 2007 20:17:09 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H5Spm-0000hp-TV for gdb-patches@sourceware.org; Fri, 12 Jan 2007 15:17:07 -0500 Date: Fri, 12 Jan 2007 20:17:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: [ob] Adjust member pointer test for g++ 3.3 Message-ID: <20070112201706.GA2673@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00319.txt.bz2 Mark noticed that this test failed on G++ 3.3 because it warns that all of Padding's member functions are private. Easily avoided. I imagine g++ 4.x moved or removed this warning intentionally; not so useful here... -- Daniel Jacobowitz CodeSourcery 2007-01-12 Daniel Jacobowitz * gdb.cp/member-ptr.cc (class Padding): Make contents public. Index: member-ptr.cc =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/member-ptr.cc,v retrieving revision 1.5 diff -u -p -r1.5 member-ptr.cc --- member-ptr.cc 9 Jan 2007 17:59:12 -0000 1.5 +++ member-ptr.cc 12 Jan 2007 20:14:34 -0000 @@ -86,6 +86,7 @@ typedef int A::*PMI; added twice - otherwise it would be 2 * 0 == 0. */ class Padding { +public: int spacer; virtual int vspacer(); };