<p>While looking at the code I discovered that the index of preprocessor conditions could become negative and even be used for a wrongly placed #!else - I pushed a fix for it: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/8f6e826576e52270f21c22a7d94b3026cc22c172/hovercard" href="https://github.com/kamailio/kamailio/commit/8f6e826576e52270f21c22a7d94b3026cc22c172"><tt>8f6e826</tt></a> -- this probably needs to be backported.</p>
<p>Otherwise, it is fine for me to stop starting kamailio on a mismatch of ifdef/ifndef-endif pairs.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2057?email_source=notifications&email_token=ABO7UZMPOYSYYI67SODBDULQIKQE7A5CNFSM4IUHEH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DW6JA#issuecomment-528969508">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLFIJLDUKI4XZFHFTLQIKQE7ANCNFSM4IUHEH7A">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZI2UZQAZJIEK5T2AOLQIKQE7A5CNFSM4IUHEH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DW6JA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2057?email_source=notifications\u0026email_token=ABO7UZMPOYSYYI67SODBDULQIKQE7A5CNFSM4IUHEH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DW6JA#issuecomment-528969508",
"url": "https://github.com/kamailio/kamailio/issues/2057?email_source=notifications\u0026email_token=ABO7UZMPOYSYYI67SODBDULQIKQE7A5CNFSM4IUHEH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DW6JA#issuecomment-528969508",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>