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]
An easy workaround is just to suppress the warning (-Wno-uninitial ized). However, gcc still complains:
cc1plus: warnings being treated as errors :<unnamed> ::connect_ operation: :run()' :
network.cpp: In member function 'virtual void network:
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.