kakwa/uts-server

C99 mode error

bqwzhl20 opened this issue · 2 comments

/root/uts-server-master/src/lib/rfc3161.c: In function ‘get_ctxw’:
/root/uts-server-master/src/lib/rfc3161.c:73: error: ‘for’ loop initial declarations are only allowed in C99 mode
/root/uts-server-master/src/lib/rfc3161.c:73: note: use option -std=c99 or -std=gnu99 to compile your code
make[2]: *** [CMakeFiles/uts-server.dir/src/lib/rfc3161.c.o] Error 1
make[1]: *** [CMakeFiles/uts-server.dir/all] Error 2
make: *** [all] Error 2

kakwa commented

Thank you for reporting this bug

Commit: b98d15b should fix the issue.

Could you confirm it?

yes, it's ok now, thx.