Comment 9 for bug 364069

Revision history for this message
Ilya Barygin (randomaction) wrote : Re: Please sync wesnoth 1.6.2-1 (universe) from Debian unstable (main)

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.