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]

Re: annoying warning generated


>>>>> Karsten Ballueder <karsten@phy.hw.ac.uk> writes:

 > Compiling with "-Wall" now produces endless lists of compiler warnings 
 > about the private destructor. That's probably a good idea for most
 > cases, but there seems to be no possibility to switch this warning off 
 > - that's the "bug" I was mentioning.
 > IMHO there really should be an option to disable this warning.

Actually, I'm not sure it does make sense for most cases; in cases where it
might be useful, any attempted use of the class would fail, which seems
like an adequate diagnostic.  So feel free to remove it and send a patch to
egcs-patches.  Just search for the warning text with grep.

Jason


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