This is the mail archive of the gcc-help@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: Suppressing gcc warnings


Rene Lanz wrote:

> I am particularily interessted how the following, and in this 
> case unnessesary warning, can be suppressed:
> 
> warning: `class X' only defines a private destructor and has no
> friends 

  -Wno-ctor-dtor-privacy

(although agreed, this might be a generally bogus warning)

Hope that helps,
Rup.


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