commit | 3c9a3fb0b8edafa5ee95f617ce28cf1d1885e5ac | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 28 08:28:15 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 28 08:57:53 2010 +0100 |
tree | e494b64e7b3af11a971e8c4a36fa0aa923754dd6 | |
parent | a5899aaad5328f692bd642c40a4069434858de9d [diff] |
[BUILD] add -fno-strict-aliasing to fix warnings with gcc >= 4.4 Gcc 4.4 enables strict aliasing by default, resuling in complaints when casting struct sockaddr_storage to sockaddr_in. Not only doing this does not provide any noticeable performance improvement, it also presents a risk of strange bugs even when the compiler does not emit a warning, so let's disable this optimization !