[sr-dev] compiler warning

Juha Heinanen jh at tutpro.com
Tue Oct 2 12:26:54 CEST 2018


Daniel-Constantin Mierla writes:

> It is a matter of the OS, compiler and version if this kind of warning
> is shown with the default flags. For example clang doesn't show it.
> Latest versions of gcc do it.

If clang does not show it, then the compile test should be done with
gcc.  It is very bad policy if Kamailio project allows compiler warnings
in the source code.

> Also, the code is compiled by travis-ci, so if there is a compile error,
> there will be an email alert on the sr-dev list.

I don't know if travis-ci warns about unused variables.  If not, then
it is useless in this regard.

-- Juha





More information about the sr-dev mailing list