This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/689: [2003-05-03] [diagnostic] this warning is not helpful: `class xxxx' only defines a private destructor and has no friend


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=689

Jeff --

  I can't tell you how helpful or unhelpul that warning is.
However, g++ does provide an option to turn it on and off

    -Wctor-dtor-privacy
    -Wno-ctor-dtor-privacy

Maybe turning this warning on only if -Wextra is specified might be less
restrictive than the current situation.  I'm going to reclassify this
PR.

Thanks,

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]