From: corey taylor <corey.taylor@gmail.com>
To: Vincent Torri <Vincent.Torri@iecn.u-nancy.fr>
Cc: gcc-help@gcc.gnu.org
Subject: Re: flag for removing warning message "warning: 'class Toto' has virtual functions but non-virtual destructor"
Date: Fri, 30 Sep 2005 20:25:00 -0000 [thread overview]
Message-ID: <2e393d080509301325n5d45b18fm582edea4d365ffe3@mail.gmail.com> (raw)
In-Reply-To: <2e393d080509301321u29449cd8v6cd32cb2492522e4@mail.gmail.com>
Oh, then to disable it specifically -Wno-non-virtual-dtor .
corey
On 9/30/05, corey taylor <corey.taylor@gmail.com> wrote:
> 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@iecn.u-nancy.fr> 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
> >
>
next prev parent reply other threads:[~2005-09-30 20:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 20:16 Vincent Torri
2005-09-30 20:21 ` corey taylor
2005-09-30 20:25 ` corey taylor [this message]
2005-09-30 20:58 ` Vincent Torri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2e393d080509301325n5d45b18fm582edea4d365ffe3@mail.gmail.com \
--to=corey.taylor@gmail.com \
--cc=Vincent.Torri@iecn.u-nancy.fr \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).