An easy workaround is just to suppress the warning (-Wno-uninitialized).
However, gcc still complains:

cc1plus: warnings being treated as errors
network.cpp: In member function 'virtual void 
network::<unnamed>::connect_operation::run()':
network.cpp:432: error: dereferencing type-punned pointer will break 
strict-aliasing rules
[4 more errors]

This can be fixed by adding -fno-strict-aliasing.

** Attachment added: "ftbfs.patch"
   http://launchpadlibrarian.net/27780560/ftbfs.patch

-- 
Please sync wesnoth 1.6.2-1 (universe) from Debian unstable (main)
https://bugs.launchpad.net/bugs/364069
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to wesnoth in ubuntu.

Status in “wesnoth” source package in Ubuntu: Incomplete

Bug description:
Please, update it to fix release 1.6.1 in Ubuntu 9.04

http://www.wesnoth.org/

Changelog: 
http://svn.gna.org/viewcvs/wesnoth/tags/1.6.1/changelog?rev=34808&view=download

_______________________________________________
Pkg-games-ubuntu mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-ubuntu

Reply via email to