linux下编译工程提示:storage size of ‘tz’ isn't known
问题描述:
1、在编译工程时,报错:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for (U08 i = 0; i < len; i++)
即只有在C99或C11模式下,才能在for循环中初始化变量;
2、编译器给出的建议:
note: use option -std=c99, ...
原创
2020-04-18 11:22:44 ·
2748 阅读 ·
0 评论