[sr-dev] Compiler warnings on linux

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 15 14:32:06 CET 2016


On the pipe, once CI builds don't report errors.

Btw, can you add some notes about how xhttp_rpc can be used (how to
construct the command (or url) in the docs? Based on a thread on
sr-users, apparently there is no information about it.

Cheers,
Daniel

On 15/03/16 14:28, Ovidiu Sas wrote:
>
> Don't forget to backport.
>
> Thanks,
> Ovidiu
>
> On Mar 15, 2016 8:01 AM, "Daniel-Constantin Mierla" <miconda at gmail.com
> <mailto:miconda at gmail.com>> wrote:
>
>     Thanks, shifted some code in master to get the functions in the
>     core and
>     reuse them.
>
>     Cheers,
>     Daniel
>
>     On 14/03/16 22:18, Ovidiu Sas wrote:
>     > tps_msg.c: In function "tps_pack_request":
>     > tps_msg.c:384:5: warning: implicit declaration of function "strnstr"
>     > [-Wimplicit-function-declaration]
>     >      if(strnstr(ptsd->bs_contact.s, ";r2=on",
>     >      ^
>     >
>     > strnstr is not available on linux.
>     > A local implementation exists in tm/t_msgbuilder.c: _strnstr
>     > Another one in sdpops/sdpops_mod.c: strnistr
>     > Probably there should be one single implementation in core available
>     > for all modules.
>     >
>     > -ovidiu
>     >
>
>     --
>     Daniel-Constantin Mierla
>     http://www.asipto.com
>     http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -
>     http://www.linkedin.com/in/miconda
>     Kamailio World Conference, Berlin, May 18-20, 2016 -
>     http://www.kamailioworld.com
>
>
>     _______________________________________________
>     sr-dev mailing list
>     sr-dev at lists.sip-router.org <mailto:sr-dev at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160315/7f42f863/attachment.html>


More information about the sr-dev mailing list