Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: [ob] Adjust member pointer test for g++ 3.3
Date: Fri, 12 Jan 2007 20:17:00 -0000	[thread overview]
Message-ID: <20070112201706.GA2673@nevyn.them.org> (raw)

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  <dan@codesourcery.com>

	* 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();
 };


             reply	other threads:[~2007-01-12 20:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 20:17 Daniel Jacobowitz [this message]
2007-01-12 21:50 ` Mark Kettenis
2007-01-12 23:08   ` Daniel Jacobowitz
2007-01-28 15:40     ` Mark Kettenis
2007-01-28 17:11       ` Daniel Jacobowitz
2007-01-28 17:50         ` Mark Kettenis
2007-01-28 17:52           ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070112201706.GA2673@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox