[reSIProcate] public API, config.h and CPPflags issues

Daniel Pocock daniel at pocock.com.au
Thu Aug 1 02:57:50 CDT 2013


On 01/08/13 06:06, Byron Campen wrote:
> Ok, looks like our culprits this time are HAVE_EPOLL (which turns on
> RESIP_POLL_IMPL_EPOLL, which completely changes the API and ABI in
> rutil/Poll), and USE_SSL (which appears in many places in reTurn,
> recon, and reflow.) USE_IPV6, RESIP_ARCH_*, RESIP_OSTYPE_*, USE_CARES,
> and HAVE_sockaddr_in_len seem ok wrt the resip codebase. I'll start
> looking into it.

Ok, I just took everything I could see and copied it into the dependent
project just to test my hunch that this was the issue.  Thanks for
narrowing this down to the real culprits.

>     Personally, I think that we should remove this #ifdef crud from
>     our header files wherever possible. A while back I purged most of
>     this, but it seems more has crept back in.
>

I could put something in the build system like this:

  find $DESTDIR -name '*.hxx' -exec grep -H ^.ifdef

and fail the build if it spots anything.  $DESTDIR is the output
directory for the API to be distributed.  travis-ci would run this test
after every commit.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20130801/aabfa058/attachment.htm>


More information about the resiprocate-devel mailing list