Commit 6868d0c8 authored by Youness Alaoui's avatar Youness Alaoui

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
parent 1c6b6ad4
ERROR_CFLAGS = \
$(LIBNICE_CFLAGS) \
-fno-strict-aliasing \
-Wextra \
-Wundef \
-Wnested-externs \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment