Package: id3lib3.8.3
Version: 3.8.3-6
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.  A patch for this problem is
below.


> Automatic build of id3lib3.8.3_3.8.3-6 on coconut0 by sbuild/ia64 0.49
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -g -O2 -Wall -Wno-unused 
> -Wno-inline -Woverloaded-virtual -Wmissing-declarations  -MT demo_info.o -MD 
> -MP -MF ".deps/demo_info.Tpo" \
>         -c -o demo_info.o `test -f 'demo_info.cpp' || echo 
> './'`demo_info.cpp; \
>       then mv -f ".deps/demo_info.Tpo" ".deps/demo_info.Po"; \
>       else rm -f ".deps/demo_info.Tpo"; exit 1; \
>       fi
> demo_info.cpp: In function 'void PrintUsage(const char*)':
> demo_info.cpp:38: warning: no previous declaration for 'void PrintUsage(const 
> char*)'
> demo_info.cpp: In function 'void PrintVersion(const char*)':
> demo_info.cpp:49: warning: no previous declaration for 'void 
> PrintVersion(const char*)'
> demo_info.cpp: In function 'void PrintInformation(const ID3_Tag&)':
> demo_info.cpp:56: warning: no previous declaration for 'void 
> PrintInformation(const ID3_Tag&)'
> demo_info.cpp: At global scope:
> demo_info.cpp:312: error: first argument of 'int main(unsigned int, char* 
> const*)' should be 'int'
> make[3]: *** [demo_info.o] Error 1
> make[3]: Leaving directory `/build/tbm/id3lib3.8.3-3.8.3/examples'

--- examples/demo_info.cpp~     2007-04-01 13:38:30.000000000 +0000
+++ examples/demo_info.cpp      2007-04-01 13:38:51.000000000 +0000
@@ -309,7 +309,7 @@
 
 #define DEBUG
 
-int main( unsigned int argc, char * const argv[])
+int main(int argc, char * const argv[])
 {
   ID3D_INIT_DOUT();
 
--- examples/demo_convert.cpp~  2007-04-01 13:39:02.000000000 +0000
+++ examples/demo_convert.cpp   2007-04-01 13:39:12.000000000 +0000
@@ -84,7 +84,7 @@
   }
 }
 
-int main( unsigned int argc, char * const argv[])
+int main(int argc, char * const argv[])
 {
   flags_t ulFlag = ID3TT_ALL;
   gengetopt_args_info args;
--- examples/demo_tag.cpp~      2007-04-01 13:39:21.000000000 +0000
+++ examples/demo_tag.cpp       2007-04-01 13:39:26.000000000 +0000
@@ -46,7 +46,7 @@
     os << "v2";
 }
 
-int main( unsigned int argc, char * const argv[])
+int main(int argc, char * const argv[])
 {
   int ulFlag = ID3TT_ID3;
   ID3D_INIT_DOUT();
--- examples/demo_copy.cpp~     2007-04-01 13:40:08.000000000 +0000
+++ examples/demo_copy.cpp      2007-04-01 13:40:13.000000000 +0000
@@ -81,7 +81,7 @@
   }
 }
 
-int main( unsigned int argc, char * const argv[])
+int main(int argc, char * const argv[])
 {
   int ulFlag = ID3TT_ID3;
   ID3D_INIT_DOUT();

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