Package: libflash
Version: 0.4.13-6
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.
> Automatic build of libflash_0.4.13-6 on bigsur by sbuild/mips 1.106
...
> mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -fno-rtti
> -fno-exceptions -g -O2 -MT adpcm.lo -MD -MP -MF .deps/adpcm.Tpo -c adpcm.cc
> -fPIC -DPIC -o .libs/adpcm.o
> matrix.h:36: error: extra qualification 'Matrix::' on member 'getX'
> matrix.h:42: error: extra qualification 'Matrix::' on member 'getY'
> sound.h:145: error: extra qualification 'SoundMixer::' on member 'Mp3Scale'
> sound.h:146: error: extra qualification 'SoundMixer::' on member
> 'Mp3Decompress'
> sound.h:147: error: extra qualification 'SoundMixer::' on member
> 'uninitMp3Sounds'
> make[3]: *** [adpcm.lo] Error 1
--- ./lib/matrix.h~ 2006-03-20 14:07:41.000000000 +0000
+++ ./lib/matrix.h 2006-03-20 14:07:48.000000000 +0000
@@ -33,13 +33,13 @@
#endif
inline
- long Matrix::getX(long x, long y)
+ long getX(long x, long y)
{
return (long) (x*a+y*b+tx);
};
inline
- long Matrix::getY(long x, long y)
+ long getY(long x, long y)
{
return (long) (x*c+y*d+ty);
};
--- ./lib/sound.h~ 2006-03-20 14:07:56.000000000 +0000
+++ ./lib/sound.h 2006-03-20 14:08:04.000000000 +0000
@@ -142,9 +142,9 @@
long playSounds(); // Actually play sounds of all
instances
long fillSoundBuffer(SoundList *, char *buffer, long
bufferSize); // Fill sound buffer
private:
- int SoundMixer::Mp3Scale(mad_fixed_t sample);
- void SoundMixer::Mp3Decompress(SoundList *sl);
- void SoundMixer::uninitMp3Sounds(SoundList *sl);
+ int Mp3Scale(mad_fixed_t sample);
+ void Mp3Decompress(SoundList *sl);
+ void uninitMp3Sounds(SoundList *sl);
};
#endif /* _SOUND_H_ */
--- ./lib/graphic32.h~ 2006-03-20 14:08:33.000000000 +0000
+++ ./lib/graphic32.h 2006-03-20 14:08:59.000000000 +0000
@@ -24,7 +24,7 @@
class GraphicDevice32: public GraphicDevice {
private:
- long GraphicDevice32::allocColor(Color color);
+ long allocColor(Color color);
public:
GraphicDevice32(FlashDisplay *fd);
--- ./lib/graphic16.h~ 2006-03-20 14:08:37.000000000 +0000
+++ ./lib/graphic16.h 2006-03-20 14:09:15.000000000 +0000
@@ -24,7 +24,7 @@
class GraphicDevice16: public GraphicDevice {
private:
- long GraphicDevice16::allocColor(Color color);
+ long allocColor(Color color);
public:
GraphicDevice16(FlashDisplay *fd);
--- ./lib/graphic24.h~ 2006-03-20 14:08:43.000000000 +0000
+++ ./lib/graphic24.h 2006-03-20 14:09:08.000000000 +0000
@@ -24,7 +24,7 @@
class GraphicDevice24: public GraphicDevice {
private:
- long GraphicDevice24::allocColor(Color color);
+ long allocColor(Color color);
public:
GraphicDevice24(FlashDisplay *fd);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]