Package: osgal-cvs
Version: 20050907-1
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 osgal-cvs_20050907-1 on bigsur by sbuild/mips 1.86
...
>  mips-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"osgAL\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DHAVE_LIBOPENAL=1 -DSTDC_HEADERS=1 -I. -I. -I../../include 
> -Wall -g -O2 -MT SoundManager.lo -MD -MP -MF .deps/SoundManager.Tpo -c 
> SoundManager.cpp  -fPIC -DPIC -o .libs/SoundManager.o
> ../../include/osgAL/SoundManager:113: error: extra qualification 
> 'osgAL::SoundManager::' on member 'getSample'
> ../../include/osgAL/SoundManager:118: error: extra qualification 
> 'osgAL::SoundManager::' on member 'clearSampleCache'
> ../../include/osgAL/SoundManager:128: error: extra qualification 
> 'osgAL::SoundManager::' on member 'getStream'
> ../../include/osgAL/SoundManager:133: error: extra qualification 
> 'osgAL::SoundManager::' on member 'clearStreamCache'
> make[3]: *** [SoundManager.lo] Error 1


--- ./include/osgAL/SoundManager~       2006-03-12 00:58:09.000000000 +0000
+++ ./include/osgAL/SoundManager        2006-03-12 00:58:25.000000000 +0000
@@ -110,12 +110,12 @@
     path there. If it can be found, it will return to that Sample.
     Otherwise it will be loaded from disk.
   */
-  openalpp::Sample* SoundManager::getSample( const std::string& path, bool 
add_to_cache=true );
+  openalpp::Sample* getSample( const std::string& path, bool add_to_cache=true 
);
 
   /*! 
     Clear the sample cache with all loaded samples.
   */
-  void SoundManager::clearSampleCache(void) {  m_sample_cache.clear(); }
+  void clearSampleCache(void) {  m_sample_cache.clear(); }
 
 
   /*! 
@@ -125,12 +125,12 @@
     path there. If it can be found, it will return to that Stream.
     Otherwise it will be loaded from disk.
   */
-  openalpp::Stream* SoundManager::getStream( const std::string& path, bool 
add_to_cache=true );
+  openalpp::Stream* getStream( const std::string& path, bool add_to_cache=true 
);
 
   /*! 
     Clear the Stream cache with all loaded streams.
   */
-  void SoundManager::clearStreamCache(void) {  m_stream_cache.clear(); }
+  void clearStreamCache(void) {  m_stream_cache.clear(); }
 
 
   /*!

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