• Luca Boccassi's avatar
    Problem: testutil build broken with gcc 4.4 on CentOS 6 · a909e729
    Luca Boccassi authored
    Solution: do not alias sockaddr_un, but take a copy
    
    tests/testutil.cpp: In function 'fd_t bind_socket_resolve_port(const char*, const char*, char*, int, int)':
    tests/testutil.cpp:468: error: dereferencing pointer 'un_addr' does break strict-aliasing rules
    a909e729
testutil.cpp 15.1 KB