菜鸡想问一下,这是什么错误?
-
In file included from check.c:3:
common.h:68:7: warning: no newline at end of file
check.c: In function 'check_answer':
check.c:23: error: 'for' loop initial declaration used outside C99 mode
check.c:25: error: 'for' loop initial declaration used outside C99 mode
check.c:30: error: 'for' loop initial declaration used outside C99 mode
make: *** [check.o] 错误 1
-
https://blog.csdn.net/xinguimeng/article/details/50716442
您好,非国产平台独有的错误可以试试在网络上查查
-
好的,谢谢老师,那请问,sw5cc可以加-std=c99这个参数吗?gcc和mpicc的参数它都能加吗?