[zeromq-dev] zmq::tcp_listener_t::get_address
Mikko Koppanen
mikko.koppanen at gmail.com
Sat Feb 18 20:49:33 CET 2012
On Sat, Feb 18, 2012 at 3:23 PM, john skaller
<skaller at users.sourceforge.net> wrote:
>
> On 19/02/2012, at 1:52 AM, Brian Knox wrote:
>>
>> tcp_listener.cpp: In member function ‘int zmq::tcp_listener_t::get_address(std::string*)’:
>> tcp_listener.cpp:148: error: dereferencing pointer ‘sa.120’ does break strict-aliasing rules
Hi,
I think the following should work:
https://github.com/mkoppanen/libzmq/commit/b0573486c7abf89b79d30aa4d29b0dac3d789619
--
Mikko Koppanen
More information about the zeromq-dev
mailing list