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
<2017>
2018
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
<2017>
2018
2019
2020
2021
2022
2023
2024
|