From 8e7014383b8dc99e3a804c530c31bde05511bd03 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 16 Jan 2004 13:39:25 +0000 Subject: * 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. --- winsup/cygserver/ChangeLog | 6 ++++++ winsup/cygserver/process.cc | 7 ------- winsup/cygserver/process.h | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog index 7bd35cfb0..e713ae104 100644 --- a/winsup/cygserver/ChangeLog +++ b/winsup/cygserver/ChangeLog @@ -1,3 +1,9 @@ +2004-01-16 Corinna Vinschen + + * 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 * Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include. diff --git a/winsup/cygserver/process.cc b/winsup/cygserver/process.cc index 0f6e0cb5f..1cad23887 100644 --- a/winsup/cygserver/process.cc +++ b/winsup/cygserver/process.cc @@ -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), diff --git a/winsup/cygserver/process.h b/winsup/cygserver/process.h index 142b3634c..c062ee193 100644 --- a/winsup/cygserver/process.h +++ b/winsup/cygserver/process.h @@ -46,7 +46,7 @@ public: _next (NULL) {} - virtual ~cleanup_routine (); + virtual ~cleanup_routine () = 0; bool operator== (const cleanup_routine &rhs) const { -- cgit v1.2.3