[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#226241: libming-dev: mingpp.h can't be compiled



Package: libming-dev
Version: 0.2a.cvs20030716-2
Severity: grave
Tags: sid
Justification: renders package unusable

g++ finds an error in mingpp.h:

/usr/include/mingpp.h: In member function `void 
   SWFMovie::setSoundStream(SWFSound*)':
/usr/include/mingpp.h:297: error: cannot convert `SWFSound_s*' to `
   SWFSoundStream_s*' for argument `2' to `void 
   SWFMovie_setSoundStream(SWFMovie_s*, SWFSoundStream_s*)'


I don't need sound in my generated SWF files, but this modification 
helps g++ to compile mingpp.h:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@@ -293,8 +293,8 @@
   void setBackground(int r, int g, int b)
     { SWFMovie_setBackground(this->movie, r, g, b); }
 
-  void setSoundStream(SWFSound *sound)
-    { SWFMovie_setSoundStream(this->movie, sound->sound); }
+  void setSoundStream(SWFSoundStream *sound)
+    { SWFMovie_setSoundStream(this->movie, *sound); }
 
   SWFDisplayItem *add(SWFBlock *character)
     { return new SWFDisplayItem(SWFMovie_add(this->movie,
character->getBlock())); }
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nathalie 2.6.0-test5 #1 Fri Sep 19 11:16:11 CEST 2003 i686
Locale: LANG=fr_FR.ISO-8859-1, LC_CTYPE=fr_FR.ISO-8859-1

Versions of packages libming-dev depends on:
ii  libming               0.2a.cvs20030716-2 Library to generate SWF (Flash)
Fi

-- no debconf information


-- 
Mérouze Benoît / ben-
benoit.merouze@epita.fr
ben-@libertysurf.fr
" Essayer de faire marche arrière ne fait pas remonter le temps ... "



Reply to: