public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* remove C++ warning about all private c/dtors and no friends?
@ 2003-01-06 19:39 Jason Merrill
  2003-01-06 20:18 ` Mark Mitchell
  2003-01-06 20:24 ` Gabriel Dos Reis
  0 siblings, 2 replies; 4+ messages in thread
From: Jason Merrill @ 2003-01-06 19:39 UTC (permalink / raw)
  To: Mark Mitchell; +Cc: gcc, Jason Merrill

This warning gives a false positive for a class like

class A 
{
  A();
  ~A();

public:
  A* make_A ();
}

and furthermore, seems kind of useless.  Surely that's the sort of
situation that will be caught quickly during normal development.  Would
anyone object to tearing out this warning?

Jason

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-06 21:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-06 19:39 remove C++ warning about all private c/dtors and no friends? Jason Merrill
2003-01-06 20:18 ` Mark Mitchell
2003-01-06 21:29   ` Jason Merrill
2003-01-06 20:24 ` Gabriel Dos Reis

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).