What does this error mean: “error: expected specifier-qualifier-list before 'type_name'”?

前端 未结 7 796
挽巷
挽巷 2020-12-05 06:09

I\'ve been working on the Cell processor and I\'m trying to create a struct that will hold an spe_context_ptr_t, which will be used within the thread to launch

7条回答
  •  渐次进展
    2020-12-05 06:43

    The compiler doesn't know that spe_context_ptr_t is a type. Check that the appropriate typedef is in scope when this code is compiled. You may have forgotten to include the appropriate header file.

提交回复
热议问题