public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/689: this warning is not helpful: `class xxxx' only defines a private destructor and has no friend
@ 2002-11-20 22:56 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2002-11-20 22:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/689; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@apex68.ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c++/689: this warning is not helpful: `class xxxx' only defines a private destructor and has no friend
Date: Thu, 14 Nov 2002 14:33:43 -0600
Re-confirmed with 3.3 CVS from 2002-11-10 and 3.2.1 pre from the same date.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/689: this warning is not helpful: `class xxxx' only defines a private destructor and has no friend
@ 2002-11-10 12:06 Wolfgang Bangerth
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Bangerth @ 2002-11-10 12:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/689; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/689: this warning is not helpful: `class xxxx' only defines
a private destructor and has no friend
Date: Sun, 10 Nov 2002 14:06:45 -0600 (CST)
A simple testcase to show the problem is this:
---------------------
class X
{
public:
X();
private:
~X();
};
---------------------
I get
tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -W -c x.cc
x.cc:2: warning: `class X' only defines a private destructor and has no
friends
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-14 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-20 22:56 c++/689: this warning is not helpful: `class xxxx' only defines a private destructor and has no friend Wolfgang Bangerth
-- strict thread matches above, loose matches on Subject: below --
2002-11-10 12:06 Wolfgang Bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).