aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygserver
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-01-16 13:39:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-01-16 13:39:25 +0000
commit8e7014383b8dc99e3a804c530c31bde05511bd03 (patch)
treed595541f0dd490529223c61b89b0761bbfb2d03d /winsup/cygserver
parentc0bd991305cf3988548460249f695bbfe95ae76c (diff)
downloadnewlib-8e7014383b8dc99e3a804c530c31bde05511bd03.zip
newlib-8e7014383b8dc99e3a804c530c31bde05511bd03.tar.gz
newlib-8e7014383b8dc99e3a804c530c31bde05511bd03.tar.bz2
* 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/ChangeLog6
-rw-r--r--winsup/cygserver/process.cc7
-rw-r--r--winsup/cygserver/process.h2
3 files changed, 7 insertions, 8 deletions
diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog
index 7bd35cf..e713ae1 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 0f6e0cb..1cad238 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 142b363..c062ee1 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
{