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

Help in gcc-4.0.x transition issue


I tried to build arb packages (non-free) with gcc 4.0.1 (testing) and 4.0.2
(unstable) but failed.  Upstream is currently busy and is not able to care for
this issue in the time I plan a new upload. (This does not mean that upstream
is dead but people are happy with gcc 4.0.0 so this problem is no big issue at
the moment.)

To start building arb you need the following small patch:

--- Makefile.orig       2005-05-06 12:21:05.000000000 +0200
+++ Makefile    2005-08-26 08:05:14.000000000 +0200
@@ -91,7 +91,7 @@
 # 2.95.4 is supposed to work, but not known to be tested yet
 ALLOWED_GCC_3xx_VERSIONS=3.2 3.3.1 3.3.3 3.3.4 3.3.5 3.4.0 3.4.2 3.4.3
+ALLOWED_GCC_4xx_VERSIONS=4.0.0 4.0.1 4.0.2


If I use testing with gcc 4.0.1 or my unstable chroot with 4.0.2 the build ends with:

g++ -W -Wall  -DLINUX -DHAVE_BOOL -pipe -DNO_REGEXPR -DGNU   -fPIC -O -DNDEBUG  -DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_WINDOW -c AW_status.cxx -I. -I/home/tillea/debian-maintain/packages/arb/arb-0.0.20050506/INCLUDE -I/usr/X11R6/include
g++ -W -Wall  -DLINUX -DHAVE_BOOL -pipe -DNO_REGEXPR -DGNU   -fPIC -O -DNDEBUG  -DARB_OPENGL -DFAKE_VTAB_PTR=char -D_ARB_WINDOW -c AW_preset.cxx -I. -I/home/tillea/debian-maintain/packages/arb/arb-0.0.20050506/INCLUDE -I/usr/X11R6/include
AW_status.cxx:85: warning: non-local variable '<anonymous struct> aw_stg' uses anonymous type
AW_status.cxx:1355: warning: non-local variable '<anonymous struct> aw_help_global' uses anonymous type
/home/tillea/debian-maintain/packages/arb/arb-0.0.20050506/INCLUDE/awt_canvas.hxx:67: error: 'AWT_canvas' has not been declared
make[2]: *** [AW_preset.o] Error 1
make[2]: *** Waiting for unfinished jobs....

I guess it is a really small problem for people with C++ knowledge and thus
I hope to get a quick answer here.

Sorry for the inconvience



Reply to: