Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-01-16 16:39:25 +0300
committerCorinna Vinschen <corinna@vinschen.de>2004-01-16 16:39:25 +0300
commit8e7014383b8dc99e3a804c530c31bde05511bd03 (patch)
treed595541f0dd490529223c61b89b0761bbfb2d03d
parentc0bd991305cf3988548460249f695bbfe95ae76c (diff)
* 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.
-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 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
{