Suppressing gcc warnings

Rupert Wood me@rupey.net
Fri Nov 2 08:34:00 GMT 2001


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.



More information about the Gcc-help mailing list