C99 mode error
bqwzhl20 opened this issue · 2 comments
bqwzhl20 commented
/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
bqwzhl20 commented
yes, it's ok now, thx.