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

前端 未结 7 728
挽巷
挽巷 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 07:02

    For iPhone cocoa-touch projects:

    I had this problem and thanks to Eric Farraro's comment, I was able to get it resolved. I was importing a class WSHelper.h in many of my other classes. But I also was importing some of those same classes in my WSHelper.h (circular like Eric said). So, to fix this I moved the imports from my WSHelper.h file to my WSHelper.m file as they weren't really needed in the .h file anyway.

    0 讨论(0)
提交回复
热议问题