[sr-dev] [kamailio/kamailio] [Feature Request] Fix Python 2 & 3 build warnings (#1748)

Henning Westerholt notifications at github.com
Sun Dec 16 14:30:04 CET 2018


> I don't know how the project overall likes to handle things like this. I'm guessing that true devs would 
> prefer to NOT litter code with #if #endif statements, but that's for you guys to decide.

There is no general policy against #if pre-processor statements in the code. Sure, we try to avoid them if possible. But in this particular case where its necessary to ensure compatibility with different libraries, it is of course fine. This is used also in other modules.

Lets wait a bit if Daniel has some comments on the referenced pull request. Otherwise I can also merge it, for me it looks fine.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1748#issuecomment-447643490
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181216/9aee4c73/attachment.html>


More information about the sr-dev mailing list