<p></p>
<p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/miconda/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a> ,</p>
<p dir="auto">I can't compile the module anymore, getting the error:</p>
<pre class="notranslate"><code class="notranslate">make
nats_mod.c: In function ‘nats_cleanup_connection’:
nats_mod.c:540:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(int s = 0; s < NATS_MAX_SERVERS; s++) {
^
nats_mod.c:540:2: note: use option -std=c99 or -std=gnu99 to compile your code
make: *** [nats_mod.o] Error 1
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3253#issuecomment-1328980496">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLDES372SZPYYI44XLWKSPGBANCNFSM6AAAAAAQXGUX5E">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZMJJN5XI3M4K3BHKR3WKSPGBA5CNFSM6AAAAAAQXGUX5GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSPG2RBA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3253/1328980496</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3253#issuecomment-1328980496",
"url": "https://github.com/kamailio/kamailio/issues/3253#issuecomment-1328980496",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>