* Gerfried Fuchs <rho...@deb.at> [2009-08-03 11:40]:
> > Your package fails to build with GCC 4.4.  You can reproduce this problem
> > with gcc-4.4/g++-4.4 from unstable.
> 
>  Can you also reproduce it with 4.5? Given that there seems to be
> serveral breakages in 4.4 that seems to have been fixed in 4.5 again
> I rather don't want to introduce 4.4-specific fixes that aren't needed
> later anymore.

It also happens with 4.5:

(sid)1697:t...@em64t: ~/src/wesnoth-1.6.4/src] /usr/lib/gcc-snapshot/bin/g++ 
-DHAVE_CONFIG_H -I. -I..   -I/usr/include -D_REENTRANT -I/usr/include/pango-1.0 
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb 
-I/usr/include/libpng12     -DHAVE_REVISION -I../intl -I../intl 
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DWESNOTH_PATH=\"/usr/share/games/wesnoth\" -DLOCALEDIR=\"/usr/share/locale\" 
-DHAS_RELATIVE_LOCALEDIR=0 -DFIFODIR=\"/var/run/wesnothd\" 
-DWESNOTH_PREFIX=\"/usr\" -DHAVE_FRIBIDI -I/usr/include -O2 -W -Wall -ansi -g 
-O2 -Werror -Wno-unused -Wno-sign-compare -DDISABLE_POOL_ALLOC -D_X11     
-I/usr/include -MT network.o -MD -MP -MF $depbase.Tpo -c -o network.o 
network.cpp
cc1plus: warnings being treated as errors
network.cpp: In member function 'virtual void 
network::<unnamed>::connect_operation::run()':
network.cpp:432:2: error: dereferencing type-punned pointer will break 
strict-aliasing rules
network.cpp: In function 'network::connection network::accept_connection()':
network.cpp:560:22: error: dereferencing type-punned pointer will break 
strict-aliasing rules
network.cpp:575:3: error: dereferencing type-punned pointer will break 
strict-aliasing rules
network.cpp: In function 'network::connection network::receive_data(config&, 
network::connection, bool*, network::bandwidth_in_ptr*)':
network.cpp:708:31: error: dereferencing type-punned pointer will break 
strict-aliasing rules
network.cpp: In function 'network::connection 
network::receive_data(std::vector<char>&, network::bandwidth_in_ptr*)':
network.cpp:818:31: error: dereferencing type-punned pointer will break 
strict-aliasing rules
zsh: exit 1     /usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -I. -I.. 
-I/usr/include
(sid)1698:t...@em64t: ~/src/wesnoth-1.6.4/src] /usr/lib/gcc-snapshot/bin/g++ -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 20090718-1' 
--with-bugurl=file:///usr/share/doc/gcc-snapshot/README.Bugs 
--enable-languages=c,ada,c++,java,fortran,objc,obj-c++ 
--prefix=/usr/lib/gcc-snapshot --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --disable-nls --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-mpfr --enable-java-awt=gtk --enable-gtk-cairo 
--disable-plugin --with-java-home=/usr/lib/gcc-snapshot/java-1.5.0-gcj-4.5/jre 
--enable-java-home --with-jvm-root-dir=/usr/lib/gcc-snapshot/java-1.5.0-gcj-4.5 
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar 
--enable-objc-gc --with-arch-32=i486 --with-tune=generic --disable-werror 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.0 20090718 (experimental) [trunk revision 149777] (Debian 
20090718-1)
(sid)1699:t...@em64t: ~/src/wesnoth-1.6.4/src]

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to