Package: inventor
Version: 2.1.5-10-9
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 inventor_2.1.5-10-9 on coconut0 by sbuild/ia64 0.49
...
> make[5]: Entering directory 
> `/build/tbm/inventor-2.1.5-10/apps/samples/widgets'
> /usr/bin/g++    -g -D_REENTRANT -O3    -DIVBINDIR=\"/usr/bin\" 
> -DIVLIBDIR=\"/usr/lib\" -DIVHDRTOP=\"/usr/include/Inventor\" 
> -DIVFONTPATH=\"/usr/share/inventor/fonts\" 
> -DIVHELPDIR=\"/usr/share/inventor/help\" 
> -DIVDATADIR=\"/usr/share/inventor/data/models\" 
> -DIVMATERIALSDIR=\"/usr/share/inventor/data/materials\" 
> -DIVTEXTURESDIR=\"/usr/share/inventor/data/textures\" 
> -DIVDEMOBINDIR=\"/usr/lib/inventor\" 
> -DIVDEMODATADIR=\"/usr/share/inventor/data/demos\" -DPDFVIEWER=\"xpdf\" 
> -I/usr/X11R6/include -I. -I../../../lib/database/include 
> -I../../../lib/interaction/include -I../../../lib/nodekits/include 
> -I../../../libSoXt/include -fPIC       -O -DNDEBUG   -c componentTest.c++
> componentTest.c++:63: error: first argument of 'int main(unsigned int, 
> char**)' should be 'int'
> make[5]: *** [componentTest.o] Error 1
> make[5]: Leaving directory `/build/tbm/inventor-2.1.5-10/apps/samples/widgets'

--- apps/samples/widgets/componentTest.c++~     2007-04-01 13:51:59.000000000 
+0000
+++ apps/samples/widgets/componentTest.c++      2007-04-01 13:52:05.000000000 
+0000
@@ -60,7 +60,7 @@
 }
 
 int
-main(unsigned int argc, char *argv[])
+main(int argc, char *argv[])
 {
     if (argc != 2)
        usage(argv[0]);

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