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:
-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
{