Package: rezound
Version: 0.12.0beta-3
Severity: serious
Tags: patch

When building 'rezound' on amd64/unstable,
I get the following error:

In file included from ../backend/Generate/GenerateActions.h:26,
                 from CMainWindow.cpp:746:
../backend/Generate/CGenerateNoiseAction.h:58:5: warning: #warning this should 
be defined by the selection, or give the user a choice
CMainWindow.cpp:1439:2: warning: #warning ??? make this an action?
../backend/AStatusComm.h:59: warning: 'class AStatusComm' has virtual functions 
but non-virtual destructor
CMainWindow.cpp: In member function 'long int 
CMainWindow::onKeyboardShuttle(FX::FXObject*, FX::FXSelector, void*)':
CMainWindow.cpp:1837: error: cast from 'void*' to 'unsigned int' loses precision
CMainWindow.cpp:1843: error: cast from 'void*' to 'unsigned int' loses precision
make[3]: *** [CMainWindow.lo] Error 1
make[3]: Leaving directory 
`/rezound-0.12.0beta/build-tree/rezound-0.12.0beta/src/frontend_fox'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/rezound-0.12.0beta/debian/patches/06_amd64_gcc4.patch 
./debian/patches/06_amd64_gcc4.patch
--- ../tmp-orig/rezound-0.12.0beta/debian/patches/06_amd64_gcc4.patch   
2005-08-26 19:49:37.000000000 +0000
+++ ./debian/patches/06_amd64_gcc4.patch        2005-08-26 19:49:01.000000000 
+0000
@@ -61,3 +61,22 @@
                
                if(repeatTypeComboBox->getCurrentItem()==0)
                { // repeating it a given number of times
+diff -urN ../rezound-0.12.0beta/src/frontend_fox/CMainWindow.cpp 
rezound-0.12.0beta/src/frontend_fox/CMainWindow.cpp
+--- ../rezound-0.12.0beta/src/frontend_fox/CMainWindow.cpp     2005-08-26 
19:28:49.000000000 +0000
++++ rezound-0.12.0beta/src/frontend_fox/CMainWindow.cpp        2005-08-26 
19:39:22.000000000 +0000
+@@ -1834,13 +1834,13 @@
+ 
+       if(pos==0 && FXSELID(sel)==ID_SHUTTLE_BACKWARD)
+       {
+-              if((unsigned)ptr > 1/*came from keyboard event*/) 
enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
++              if((unsigned long)ptr > 1/*came from keyboard event*/) 
enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
+               shuttleDial->setValue(pos-inc);
+               onShuttleChange(sender,sel,ptr);
+       }
+       else if(pos==0 && FXSELID(sel)==ID_SHUTTLE_FORWARD)
+       {
+-              if((unsigned)ptr > 1/*came from keyboard event*/) 
enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
++              if((unsigned long)ptr > 1/*came from keyboard event*/) 
enableAutoRepeat(getApp()->getDisplay(),false); // QQQ
+               shuttleDial->setValue(pos+inc);
+               onShuttleChange(sender,sel,ptr);
+       }


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

Reply via email to