Package: cheesetracker
Version: 0.9.9-3
Severity: important

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.


> Automatic build of cheesetracker_0.9.9-3 on bigsur by sbuild/mips 1.80
...
> g++ -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include 
> -DPOSIX_ENABLED -O3 -ffast-math -DLADSPA_ENABLED -DOSS_ENABLED -DJACK_ENABLED 
> -Icommon/ -Icommon/defines/ -I/usr/include/qt3 -DQT_NO_EMIT -Icommon -I. 
> -Icommon/defines -Icheesetracker -Icheesetracker/trackercore 
> -Icheesetracker/loaders -Icheesetracker/savers 
> -Icheesetracker/interface_binds -c -o 
> cheesetracker/interface__QT/instrument_edit.o 
> cheesetracker/interface__QT/instrument_edit.cpp
> common/components/data/property_bridges.h:92: error: extra qualification 
> 'Int_Property_Bridge::' on member 'copy_value'
> common/components/data/property_bridges.h:147: error: extra qualification 
> 'Float_Property_Bridge::' on member 'copy_value'
> common/components/data/property_bridges.h:162: error: extra qualification 
> 'Bool_Property_Bridge::' on member 'copy_value'
> common/components/data/property_bridges.h:180: error: extra qualification 
> 'String_Property_Bridge::' on member 'copy_value'
> common/components/data/property_bridges.h:199: error: extra qualification 
> 'Options_Property_Bridge::' on member 'copy_value'
> common/components/audio/resampler_manager.h:37: error: extra qualification 
> 'Resampler_Manager::' on member 'get_resampler_manager'
> scons: *** [cheesetracker/interface__QT/instrument_edit.o] Error 1
> scons: building terminated because of errors.

Below is a patch fixing most errors but then I still get the following
which I'm not sure how to fix properly.

| cheesetracker/trackercore/saver.cpp:41: error: definition of 'void 
Saver::Saver()' is not in namespace enclosing 'Saver'
| cheesetracker/trackercore/saver.cpp:43: error: definition of 'void 
Saver::Saver()' is not in namespace enclosing 'Saver'


--- cheesetracker-0.9.9/common/components/audio/resampler_manager.h     
2004-04-23 03:21:22.000000000 +0000
+++ fixed-cheesetracker/common/components/audio/resampler_manager.h     
2006-03-10 06:43:18.000000000 +0000
@@ -34,7 +34,7 @@
 
 public:
 
-       static Resampler_Manager * Resampler_Manager::get_resampler_manager();
+       static Resampler_Manager * get_resampler_manager();
        int get_resampler_count();
        Resampler * get_resampler(int p_index);
 
--- cheesetracker-0.9.9/common/components/data/property_bridges.h       
2004-04-23 03:21:24.000000000 +0000
+++ fixed-cheesetracker/common/components/data/property_bridges.h       
2006-03-10 06:41:21.000000000 +0000
@@ -41,7 +41,7 @@
   */
 
   #define BRIDGE_COPY_VALUE(T) \
-       virtual bool T::copy_value(const Property_Bridge& rvalue) {\
+       virtual bool copy_value(const Property_Bridge& rvalue) {\
                T* rcast = dynamic_cast<T*>((T*)&rvalue);\
                if (rcast) {\
                        set(rcast->get());\
--- cheesetracker-0.9.9/common/drivers/posix/sound_driver_jack.h        
2004-04-23 03:21:26.000000000 +0000
+++ fixed-cheesetracker/common/drivers/posix/sound_driver_jack.h        
2006-03-10 06:46:54.000000000 +0000
@@ -72,7 +72,7 @@
 
        int jack_callback_nframes;
 
-       Sound_Driver::Status Sound_Driver_JACK::process();
+       Status process();
 
         static int process_jack_callback(jack_nframes_t nframes,void *arg);
         static int jack_set_mixfreq(jack_nframes_t nframes,void *arg);



-- 
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