Bug#456106: FTBFS with GCC 4.3: declaration of... changes meaning of...
Package: waimea
Version: 0.4.0-7
Usertags: ftbfs-gcc-4.3
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 from unstable. Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere. I suggest you talk to your upstream.
> Automatic build of waimea_0.4.0-7 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/waimea-0.4.0/src'
> source='main.cc' object='main.o' libtool=no \
> depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -DSHAPE -DXINERAMA -DRANDR -DRENDER -DXFT -DINTERLACE -DPIXMAP -DDEFAULTSTYLE=\"/usr/share/waimea/styles/Default.style\" -DDEFAULTMENU=\"/etc/X11/waimea/menu\" -DDEFAULTACTION=\"/usr/share/waimea/actions/action\" -DDEFAULTRCFILE=\"/etc/X11/waimea/config\" -DDEFAULTSCRIPTDIR=\"/usr/share/waimea/scripts\" -g -O2 -c -o main.o `test -f main.cc || echo './'`main.cc
> In file included from Screen.hh:50,
> from Waimea.hh:151,
> from main.cc:28:
> Resources.hh:202: error: declaration of 'std::list<WaAction*, std::allocator<WaAction*> > WaActionExtList::list'
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/stl_list.h:425: error: changes meaning of 'list' from 'class std::list<WaAction*, std::allocator<WaAction*> >'
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory `/build/tbm/waimea-0.4.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/tbm/waimea-0.4.0'
> make[1]: *** [all] Error 2
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: