EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS 7.0.1-pre1 (non-virtual destructors)
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Tue, 28 Nov 2017 16:19:30 +0100
g++ version 4.1.2 complains about the following classes having virtual functions but non-virtual destructors:

ChannelProviderRegistry from modules/pvAccess/src/client/pv/pvAccess.h
RefMonitor from modules/pvData/src/misc/pv/reftrack.h

The warnings are kind of annoying as they show up in every code that includes these two headers.

However newer gcc versions (4.4+) do not print this warning.

Giving the classes public virtual destructors fixes the warnings.

Replies:
Re: EPICS 7.0.1-pre1 (non-virtual destructors) Michael Davidsaver
References:
EPICS 7.0.1-pre1 Andrew Johnson
Re: EPICS 7.0.1-pre1 Dirk Zimoch

Navigate by Date:
Prev: Re: EPICS 7.0.1-pre1 Heinz Junkes
Next: Re: EPICS 7.0.1-pre1 (epicsException.h) Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS 7.0.1-pre1 -- vxWorks 6.2 Timo Korhonen
Next: Re: EPICS 7.0.1-pre1 (non-virtual destructors) Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·