changeset 2171:ff4a4e7f57a8

* common/eCosSocket.h: Specify CeCosSerial as a friend class to enable compilation with GCC 4.x. [ Bugzilla 1000207 ]
author jld
date Wed, 29 Mar 2006 08:27:59 +0000
parents 13392c5460a0
children bdd97848f65e
files host/tools/Utils/ChangeLog host/tools/Utils/common/eCosSocket.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/host/tools/Utils/ChangeLog
+++ b/host/tools/Utils/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-29  John Dallaway  <jld@ecoscentric.com>
+
+	* common/eCosSocket.h: Specify CeCosSerial as a friend class to
+	enable compilation with GCC 4.x. [ Bugzilla 1000207 ]
+
 2004-12-14  John Dallaway  <jld@ecoscentric.com>
 
 	* common/Subprocess.cpp: Define _GNU_SOURCE to ensure that stdlib.h
--- a/host/tools/Utils/common/eCosSocket.h
+++ b/host/tools/Utils/common/eCosSocket.h
@@ -75,6 +75,7 @@ class CeCosSerial;
 
 class CeCosSocket {
 public:	
+	friend class CeCosSerial;
 	static const String GetHostByName(LPCTSTR pszHost);
 
   // These functions must be called before any other operation is carried out: