Package: libgig
Version: 2.0.d2-2
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-snapshot (20070422-1or higher)
from unstable. (Currently not available for i386, but for amd64
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of libgig_2.0.d2-2 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -pedantic -Wreturn-type 
> -Wall -O2 -g -MT RIFF.lo -MD -MP -MF .deps/RIFF.Tpo -c RIFF.cpp  -fPIC -DPIC 
> -o .libs/RIFF.o
> In file included from RIFF.cpp:24:
> RIFF.h:102: error: extra ';'
> RIFF.h:103: error: extra ';'
> RIFF.h:104: error: extra ';'
> RIFF.h:105: error: extra ';'
> RIFF.h:106: error: extra ';'
> RIFF.h:227: error: extra ';'
> RIFF.h:229: error: extra ';'
> make[3]: *** [RIFF.lo] Error 1
> make[3]: Leaving directory `/build/tbm/libgig-2.0.d2/src'

--- src/RIFF.h~ 2007-04-25 15:13:32.000000000 +0000
+++ src/RIFF.h  2007-04-25 15:14:01.000000000 +0000
@@ -99,11 +99,11 @@
             Chunk(FILE* hFile, unsigned long StartPos, bool EndianNative, 
List* Parent);
             #endif // POSIX
             String         GetChunkIDString();
-            uint32_t       GetChunkID() { return ChunkID; };            ///< 
Chunk ID in unsigned integer representation.
-            List*          GetParent()  { return pParent; };            ///< 
Returns pointer to the chunk's parent list chunk.
-            unsigned long  GetSize()    { return ChunkSize; };          ///< 
Chunk size in bytes (without header, thus the chunk data body)
-            unsigned long  GetPos()     { return ulPos; };              ///< 
Position within the chunk data body
-            unsigned long  GetFilePos() { return ulStartPos + ulPos; }; ///< 
Current, actual offset in file.
+            uint32_t       GetChunkID() { return ChunkID; }            ///< 
Chunk ID in unsigned integer representation.
+            List*          GetParent()  { return pParent; }            ///< 
Returns pointer to the chunk's parent list chunk.
+            unsigned long  GetSize()    { return ChunkSize; }          ///< 
Chunk size in bytes (without header, thus the chunk data body)
+            unsigned long  GetPos()     { return ulPos; }              ///< 
Position within the chunk data body
+            unsigned long  GetFilePos() { return ulStartPos + ulPos; } ///< 
Current, actual offset in file.
             unsigned long  SetPos(unsigned long Where, stream_whence_t Whence 
= stream_start);
             unsigned long  RemainingBytes();
             stream_state_t GetState();
@@ -224,9 +224,9 @@
         public:
             String Message;
 
-            Exception(String Message) { Exception::Message = Message; };
+            Exception(String Message) { Exception::Message = Message; }
             void PrintMessage();
-            virtual ~Exception() {};
+            virtual ~Exception() {}
     };
 
     String libraryName();
--- src/DLS.h~  2007-04-25 15:14:56.000000000 +0000
+++ src/DLS.h   2007-04-25 15:15:04.000000000 +0000
@@ -278,9 +278,9 @@
                 uint16_t transform;
                 uint32_t scale;
             };
-            Connection() {};
+            Connection() {}
             void Init(conn_block_t* Header);
-            virtual ~Connection() {};
+            virtual ~Connection() {}
             friend class Articulation;
     };
 
@@ -347,7 +347,7 @@
             Info*    pInfo;        ///< Points (in any case) to an <i>Info</i> 
object, providing additional, optional infos and comments.
             dlsid_t* pDLSID;       ///< Points to a <i>dlsid_t</i> structure 
if the file provided a DLS ID else is <i>NULL</i>.
 
-            Resource* GetParent() { return pParent; };
+            Resource* GetParent() { return pParent; }
         protected:
             Resource* pParent;
 

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