diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-01-16 13:39:25 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-01-16 13:39:25 +0000 |
commit | 8e7014383b8dc99e3a804c530c31bde05511bd03 (patch) | |
tree | d595541f0dd490529223c61b89b0761bbfb2d03d /winsup/cygserver | |
parent | c0bd991305cf3988548460249f695bbfe95ae76c (diff) | |
download | cygnal-8e7014383b8dc99e3a804c530c31bde05511bd03.tar.gz cygnal-8e7014383b8dc99e3a804c530c31bde05511bd03.tar.bz2 cygnal-8e7014383b8dc99e3a804c530c31bde05511bd03.zip |
* 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.
Diffstat (limited to 'winsup/cygserver')
-rw-r--r-- | winsup/cygserver/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygserver/process.cc | 7 | ||||
-rw-r--r-- | 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 <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. 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 { |