diff options
author | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2010-02-01 15:47:28 -0500 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2010-02-16 17:38:14 -0500 |
commit | 6868d0c8831f8ff45aec65a8b917cf9d17553bf1 (patch) | |
tree | 210fdc2ff2ffc5244222571b696ad0529fc3b9de /common.mk | |
parent | 1c6b6ad4e4439d4dbde607a0c69047e5a0e3eadd (diff) | |
download | libnice-6868d0c8831f8ff45aec65a8b917cf9d17553bf1.tar.gz |
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
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ ERROR_CFLAGS = \ $(LIBNICE_CFLAGS) \ + -fno-strict-aliasing \ -Wextra \ -Wundef \ -Wnested-externs \ |