Package: drscheme
Version: 1:209-5
Severity: normal
Tags: patch

When building 'drscheme' on amd64/unstable with gcc-4.0,
I get the following error:

 g++ -I/usr/include -I/usr/include/freetype2 -I/usr/X11R6/include 
-I./../../mzscheme/gc -I./../../wxxt/src/AIAI-include -I./../../wxxt/src 
-I./../../mred/wxme/ -I./../../mzscheme/include/ -DOPERATOR_NEW_ARRAY -DUSE_GL 
-DWX_USE_XRENDER -DWX_USE_XFT -DWX_USE_LIBPNG -DWX_USE_LIBJPEG -Dwx_xt -Wall 
-MMD -c ./wxs_madm.cxx  -fPIC -DPIC -o .libs/wxs_madm.o
./../../mred/wxme/wx_madm.h:68: error: ISO C++ forbids declaration of 
'wxUpdateCursorTimer' with no type
./../../mred/wxme/wx_madm.h:68: error: expected ';' before '*' token
make[4]: *** [wxs_madm.lo] Error 1
make[4]: Leaving directory `/drscheme-209/src/mred/wxs'

With the attached patch 'drscheme' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/drscheme-209/src/mred/wxme/wx_madm.h 
./src/mred/wxme/wx_madm.h
--- ../tmp-orig/drscheme-209/src/mred/wxme/wx_madm.h    2004-12-19 
09:38:25.000000000 +0100
+++ ./src/mred/wxme/wx_madm.h   2005-06-19 13:57:07.000000000 +0200
@@ -54,6 +54,8 @@
 #endif
 };
 
+class wxUpdateCursorTimer;
+
 class wxCanvasMediaAdmin : public wxMediaAdmin
 {
  private:


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

Reply via email to