[sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

iliesh notifications at github.com
Mon Nov 28 13:17:36 CET 2022


Hi @miconda ,

I can't compile the module anymore, getting the error:

```
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
```



-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3253#issuecomment-1328980496
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3253/1328980496 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221128/5aac61f9/attachment.htm>


More information about the sr-dev mailing list