* process.h (cleanup_routine::~cleanup_routine): Make pure virtual

function to avoid miscompilation with certain versions of gcc.
	* process.cc (cleanup_routine::~cleanup_routine): Remove.
This commit is contained in:
Corinna Vinschen 2004-01-16 13:39:25 +00:00
parent c0bd991305
commit 8e7014383b
3 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2004-01-16 Corinna Vinschen <corinna@vinschen.de>
* process.h (cleanup_routine::~cleanup_routine): Make pure virtual
function to avoid miscompilation with certain versions of gcc.
* process.cc (cleanup_routine::~cleanup_routine): Remove.
2003-12-26 Christopher Faylor <cgf@redhat.com>
* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.

View File

@ -40,13 +40,6 @@ process_cleanup::process ()
/*****************************************************************************/
/* cleanup_routine */
cleanup_routine::~cleanup_routine ()
{
}
/*****************************************************************************/
process::process (const pid_t cygpid, const DWORD winpid)
: _cygpid (cygpid),
_winpid (winpid),

View File

@ -46,7 +46,7 @@ public:
_next (NULL)
{}
virtual ~cleanup_routine ();
virtual ~cleanup_routine () = 0;
bool operator== (const cleanup_routine &rhs) const
{