linux c 编译错误一览

来源:互联网 发布:autocad for mac 中文 编辑:程序博客网 时间:2024/05/19 22:49

1. error: two or more data types in declaration specifiers

    出错原因:程序某处少写了分号";"

   例如

                 ……………………

                   struct list 

                   {

                              //结构体成员

                    }

               …………………………

         结构体在定义时,后面需加一分号,否则编译报错