mailru/tarantool — pull request #6 by zloidemon (2012-11-02 11:09:23+00:00)
Title: Fix argument getpeername

[ 65%] Building CXX object src/box/CMakeFiles/ltbox.dir/__/assoc.m.o
[ 67%] Building CXX object src/box/CMakeFiles/ltbox.dir/__/replication.m.o
/usr/home/zloidemon/Repos/zloidemon/databases/tarantool/work/tarantool-1.4.7-328-g1af7b0b-src/src/replication.m: In function 'replication_relay_loop':
/usr/home/zloidemon/Repos/zloidemon/databases/tarantool/work/tarantool-1.4.7-328-g1af7b0b-src/src/replication.m:598:2: error: passing argument 2 of 'getpeername' from incompatible pointer type [-Werror]
/usr/include/sys/socket.h:630:5: note: expected 'struct sockaddr * restrict' but argument is of type 'struct sockaddr_in *'
cc1obj: all warnings being treated as errors
gmake[2]: *** [src/box/CMakeFiles/ltbox.dir/__/replication.m.o] Ошибка 1
gmake[1]: *** [src/box/CMakeFiles/ltbox.dir/all] Ошибка 2
gmake: *** [all] Ошибка 2
*** Error code 1

Stop in /usr/home/zloidemon/Repos/zloidemon/databases/tarantool.
*** Error code 1

Stop in /usr/home/zloidemon/Repos/zloidemon/databases/tarantool.