[SR-Users] clang compiler warnings

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 5 10:59:19 CEST 2018



On 02.10.18 13:05, Juha Heinanen wrote:
> Floimair Florian writes:
>
>> I think your mail was intended for the baresip mailing list.
>> There is no baresip.c in Kamailio
> I just wanted to check if it is really so that clang doesn't generate
> unused compiler warnings.  Any C source is OK for that test and I just
> happened to have baresip.c around.
>
> clang does not produce unused var warnings without -Wunused-variable,
> which means that that flag needs to be added to K Makefile.
>
>
To close this: the compile flag was added to Makefile for clang compiler.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com




More information about the sr-users mailing list