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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3253/1328980496@github.com>