error : storage class specified for parameter

前端 未结 7 1720
悲&欢浪女
悲&欢浪女 2021-02-01 11:34

I have a C code written. When I compile it on Linux then in the header file it says the following error: storage class specified for parameter i32 , i8 and so

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-01 12:11

    To add up on ;: another case can be a missing ) in a function pointer declaration:

    extern void init_callbacks(void (*init)(), void (*end());
    

    (missing closing parenthesis after *end).

提交回复
热议问题