Package: ecos
Version: 2.0-0pre2.3
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.  (The build system is a bit weird so I'm sure sure I
compiled the full source tree after applying this patch.  I hope this
patch is enough and there's not another problem I missed.)


> Automatic build of ecos_2.0-0pre2.3 on bigsur by sbuild/mips 1.94
...
> c++ -O2 -c -I/usr/include 
> -I/build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/libcdl 
> -I/build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/infra 
> -I/build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/tools/configtool/common/common
>  -I/build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/tools/Utils/common 
> -I/build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/tools/ecostest/common 
> -I/build/tbm/ecos-2.0/build/tools/src//libcdl 
> -I/build/tbm/ecos-2.0/build/tools/src//infra -DecUSE_EXPERIMENTAL_CODE=1 
> -I/usr/include/tcl8.3 `/usr/bin/wx-config   --cflags` -o 
> /build/tbm/ecos-2.0/build-ct2/ct-build-release/aboutdlg.o 
> /build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/tools/configtool/standalone/wxwin/aboutdlg.cpp
> /build/tbm/ecos-2.0/build-tree/ecos-2.0//tools/src/tools/ecostest/common/eCosTest.h:202:
>  error: extra qualification 'CeCosTest::' on member 'Connect'
> make[1]: *** [/build/tbm/ecos-2.0/build-ct2/ct-build-release/aboutdlg.o] 
> Error 1
> make[1]: Leaving directory `/build/tbm/ecos-2.0/build-ct2'


--- ecos-2.0/tools/src/tools/ecostest/common/eCosTest.h~        2006-03-15 
02:53:06.000000000 +0000
+++ ecos-2.0/tools/src/tools/ecostest/common/eCosTest.h 2006-03-15 
02:53:12.000000000 +0000
@@ -199,7 +199,7 @@
   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,...);

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to