Disable strict aliasing.. since gcc 4.4.3, there are many warnings/errors...
Disable strict aliasing.. since gcc 4.4.3, there are many warnings/errors caused by strict aliasing.. and it's hard to get the code clean without using unions everywhere especially when dealing with sockaddr_storage and sockaddr_in* structures. Since this is a socket library mainly, and sockaddr was designed for aliasing, it's best to just disable strict aliasing for the lib
Showing
Please register or sign in to comment