build fails with warnings turned to errors when compiling SocketTransport.cpp:
These are potentially uninitialised variable warnings in boost::bind and boost::function templates and so the underlying code can't be changed by us.
It appears that the cause here is either (or some combination):
- The compiler's flow analysis is incorrect.
- The compiler misinterprets the warning as being in the location that the template instantiation happened (our code) and so ignores the -Wno-system-headers flag which should stop it reporting warnings in the system headers.
- There is an issue in the boost code.
In any of these cases there is little that we can do except suppress the warning.