• <tfoot id='lYoHf'></tfoot>

    1. <i id='lYoHf'><tr id='lYoHf'><dt id='lYoHf'><q id='lYoHf'><span id='lYoHf'><b id='lYoHf'><form id='lYoHf'><ins id='lYoHf'></ins><ul id='lYoHf'></ul><sub id='lYoHf'></sub></form><legend id='lYoHf'></legend><bdo id='lYoHf'><pre id='lYoHf'><center id='lYoHf'></center></pre></bdo></b><th id='lYoHf'></th></span></q></dt></tr></i><div id='lYoHf'><tfoot id='lYoHf'></tfoot><dl id='lYoHf'><fieldset id='lYoHf'></fieldset></dl></div>

      <small id='lYoHf'></small><noframes id='lYoHf'>

      <legend id='lYoHf'><style id='lYoHf'><dir id='lYoHf'><q id='lYoHf'></q></dir></style></legend>

      • <bdo id='lYoHf'></bdo><ul id='lYoHf'></ul>

        此错误是什么意思:“错误:'type_name' 之前的预期说明符限定符列表"?

        What does this error mean: quot;error: expected specifier-qualifier-list before #39;type_name#39;quot;?(此错误是什么意思:“错误:type_name 之前的预期说明符限定符列表?)
          <tbody id='nCpe9'></tbody>
        <tfoot id='nCpe9'></tfoot>

              • <bdo id='nCpe9'></bdo><ul id='nCpe9'></ul>

              • <legend id='nCpe9'><style id='nCpe9'><dir id='nCpe9'><q id='nCpe9'></q></dir></style></legend>

                <small id='nCpe9'></small><noframes id='nCpe9'>

                  <i id='nCpe9'><tr id='nCpe9'><dt id='nCpe9'><q id='nCpe9'><span id='nCpe9'><b id='nCpe9'><form id='nCpe9'><ins id='nCpe9'></ins><ul id='nCpe9'></ul><sub id='nCpe9'></sub></form><legend id='nCpe9'></legend><bdo id='nCpe9'><pre id='nCpe9'><center id='nCpe9'></center></pre></bdo></b><th id='nCpe9'></th></span></q></dt></tr></i><div id='nCpe9'><tfoot id='nCpe9'></tfoot><dl id='nCpe9'><fieldset id='nCpe9'></fieldset></dl></div>

                  本文介绍了此错误是什么意思:“错误:'type_name' 之前的预期说明符限定符列表"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我一直在研究 Cell 处理器,我正在尝试创建一个包含 spe_context_ptr_t 的结构体,该结构体将在线程中用于启动 spe 上下文,并且还将保存指向将从线程内传递给 spu 上下文的其他内容的指针(目前我正试图使其成为通用指针,但实际上它将是指向我定义的另一个结构的指针).当我尝试编译时,出现以下错误:

                  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 an spe context and will also hold a pointer to something else that will be passed to the spu context from within the thread (currently I'm trying to just make it a generic pointer, but in actuality it will be a pointer to another structure I've defined). When I try and compile, I get the following error:

                  spu/../common.h:38: error: expected specifier-qualifier-list before 'spe_context_ptr_t'
                  
                  // here is the offending line(s)
                  
                  typedef struct _PTHREAD_BLOCK {
                      spe_context_ptr_t * context; // Error happens here
                      uintptr32_t  args; 
                   } PTHREAD_BLOCK;
                  

                  推荐答案

                  编译器不知道 spe_context_ptr_t 是一个类型.编译此代码时,请检查适当的 typedef 是否在范围内.您可能忘记包含适当的头文件.

                  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.

                  这篇关于此错误是什么意思:“错误:'type_name' 之前的预期说明符限定符列表"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to print vector#39;s data(如何打印矢量的数据)
                  Visual C++ appends 0xCC (int3) bytes at the end of functions(Visual C++ 在函数末尾附加 0xCC (int3) 字节)
                  How to use a variable inside a _T wrapper?(如何在 _T 包装器中使用变量?)
                  MSVC++ warning flags(MSVC++ 警告标志)
                  How to read file which contains uxxxx in vc++(如何在vc++中读取包含uxxxx的文件)
                  stack overflow error in C++ program(C++程序中的堆栈溢出错误)

                    <bdo id='P2EQC'></bdo><ul id='P2EQC'></ul>
                  • <small id='P2EQC'></small><noframes id='P2EQC'>

                  • <i id='P2EQC'><tr id='P2EQC'><dt id='P2EQC'><q id='P2EQC'><span id='P2EQC'><b id='P2EQC'><form id='P2EQC'><ins id='P2EQC'></ins><ul id='P2EQC'></ul><sub id='P2EQC'></sub></form><legend id='P2EQC'></legend><bdo id='P2EQC'><pre id='P2EQC'><center id='P2EQC'></center></pre></bdo></b><th id='P2EQC'></th></span></q></dt></tr></i><div id='P2EQC'><tfoot id='P2EQC'></tfoot><dl id='P2EQC'><fieldset id='P2EQC'></fieldset></dl></div>
                    • <legend id='P2EQC'><style id='P2EQC'><dir id='P2EQC'><q id='P2EQC'></q></dir></style></legend>
                    • <tfoot id='P2EQC'></tfoot>

                              <tbody id='P2EQC'></tbody>