Re: flag for removing warning message "warning: 'class Toto' has virtual functions but non-virtual destructor"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vincent,

  You understand what that warning means, don't you?  You really need
to declare a virtual destructor in that case.

  The warning is enabled by -Wnon-virtual-dtor and -Wall

corey

On 9/30/05, Vincent Torri <Vincent.Torri@xxxxxxxxxxxxxxx> wrote:
>
> hello,
>
> is there a flag for g++ that removes the warning:
>
>  warning: 'class Toto' has virtual functions but non-virtual destructor
>
> ?
>
> thank you
>
> Vincent Torri
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux