This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building ConfigTool with GCC 4.x.x


Gary Thomas wrote:
> John Dallaway wrote:
>> Hi Gary
>>
>> Your configtool-gcc-4.x.x.patch is fine. Feel free to check it in
>> (without the commented out class names) or I can do it if you prefer.
> 
> Thanks, I'll take care of it.
> 
>> I do not need your configtool-gcc-3.4.x.patch to build configtool with
>> GCC 4.1.1 on Linux. Perhaps you have other changes in your source code
>> which require this?
> 
> I don't think so, but I'll check.  I had that patch around for
> quite a while - I'll see if it's still necessary.

It does indeed still build without the GCC-3.4.x patch.

I've checked in the attached change for GCC-4.x

>> -------- Original Message --------
>> Subject: Building ConfigTool with GCC 4.x.x
>> Date: Wed, 24 Oct 2007 06:55:45 -0600
>> From: Gary Thomas <gary@mlbassoc.com>
>> To: eCos patches <ecos-patches@ecos.sourceware.org>
>> Newsgroups: gmane.os.ecos.patches
>>
>> I just tried to build the config tool using GCC 4.2.1 and
>> had some problems.
>>
>> The changes I needed are attached.  I'm not a C++ guru, so
>> please comment on them (I purposefully left the problem
>> sections in comments) and let me know the best way to fix
>> it.  The tool runs fine with the changes I made.
>>
>> Note: there are two changes here.  One I previously found when
>> building with GCC-3.4.x and the latest one which is necessary
>> when using GCC-4.2.x
>>
>> Thanks
> 
> 


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
Index: host/tools/configtool/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/host/tools/configtool/ChangeLog,v
retrieving revision 1.64
diff -u -5 -p -r1.64 ChangeLog
--- host/tools/configtool/ChangeLog	11 Sep 2006 10:48:53 -0000	1.64
+++ host/tools/configtool/ChangeLog	25 Oct 2007 15:16:40 -0000
@@ -1,5 +1,10 @@
+2007-10-25  Gary Thomas  <gary@mlbassoc.com>
+
+	* standalone/wxwin/propertywin.h: Remove class qualifier - not
+	legal with GCC-4.x
+
 2006-09-06  John Dallaway  <jld@ecoscentric.com>
 
 	* standalone/wxwin/configitem.cpp: Allow full 32-bit signed integer
 	range when editing CDL items using the ecIntegerEditorCtrl.
 
Index: host/tools/configtool/standalone/wxwin/propertywin.h
===================================================================
RCS file: /misc/cvsfiles/ecos/host/tools/configtool/standalone/wxwin/propertywin.h,v
retrieving revision 1.1
diff -u -5 -p -r1.1 propertywin.h
--- host/tools/configtool/standalone/wxwin/propertywin.h	1 Jun 2001 22:16:30 -0000	1.1
+++ host/tools/configtool/standalone/wxwin/propertywin.h	25 Oct 2007 15:14:54 -0000
@@ -91,11 +91,11 @@ private:
     int m_nOnSizeRecursionCount;
     int m_nMaxValueWidth;
     int m_nFirstProperty;
     ecConfigItem *m_pti;
 
-    static const std::string ecPropertyListCtrl::visible_properties [];
+    static const std::string visible_properties [];
 	static const wxChar* sm_fieldTypeImage[ecMAXFIELDTYPE];
 };
 
 
 #endif
Index: host/tools/ecostest/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/host/tools/ecostest/ChangeLog,v
retrieving revision 1.17
diff -u -5 -p -r1.17 ChangeLog
--- host/tools/ecostest/ChangeLog	11 Jul 2006 09:56:14 -0000	1.17
+++ host/tools/ecostest/ChangeLog	25 Oct 2007 15:17:10 -0000
@@ -1,5 +1,10 @@
+2007-10-25  Gary Thomas  <gary@mlbassoc.com>
+
+	* common/eCosTest.h: Remove class qualifier - no longer legal
+	in GCC-4.x
+
 2006-07-10  John Dallaway  <jld@ecoscentric.com>
 
 	* common/eCosTestUtils.cpp, common/eCosTestUtils.h: Tweak function
 	prototypes for GCC 3.4.4.
 
Index: host/tools/ecostest/common/eCosTest.h
===================================================================
RCS file: /misc/cvsfiles/ecos/host/tools/ecostest/common/eCosTest.h,v
retrieving revision 1.2
diff -u -5 -p -r1.2 eCosTest.h
--- host/tools/ecostest/common/eCosTest.h	18 Apr 2000 21:51:58 -0000	1.2
+++ host/tools/ecostest/common/eCosTest.h	25 Oct 2007 15:14:54 -0000
@@ -197,11 +197,11 @@ public:
 
   // Get size information (generally by running *gdb-size)
   bool GetSizes();
 
   // Connect to a test server
-  static ServerStatus CeCosTest::Connect (LPCTSTR pszHostPort, CeCosSocket *&pSock, const ExecutionParameters &e,String &strInfo,Duration dTimeout=10*1000);
+  static ServerStatus Connect (LPCTSTR pszHostPort, CeCosSocket *&pSock, const ExecutionParameters &e,String &strInfo,Duration dTimeout=10*1000);
 
   // Log some output.  The accumulated output can be retrieved using Output()
   void Log (LPCTSTR  const pszFormat,...);
   void LogString (LPCTSTR psz);
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]