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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to