Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
構造体ポインタを渡して以下の関数を呼び出しました。currentTableItem を指定したところに「不完全な型へのポインターを逆参照しています」というエラーが表示されます -> 助けてください。
struct md_CamsLatchTblStructおそらく前方宣言を使用したため、現時点では完全な宣言がコンパイラに認識されていないようです。
struct md_CamsLatchTblStruct
コンパイラは次のように認識します。
struct md_CamsLatchTblStruct;
コンパイラは見ません(別のソースファイルに含まれていない/定義されていません):
struct md_CamsLatchTblStruct { int index; int addr; int mask; int startBit; // .. };