typedef struct {
index_tree_node node;
uint32_t number;
lzma_vli block_number_base;
index_tree groups;
lzma_vli record_count;
lzma_vli index_list_size;
lzma_stream_flags stream_flags;
lzma_vli stream_padding;
} index_stream;
下面是函数:
static void
index_cat_helper(const index_cat_info *info, index_stream *this) //problem line
{
index_stream *left = (index_stream *)(this->node.left);
index_stream *right = (index_stream *)(this->node.right);
if (left != NULL)
index_cat_helper(info, left);
this->node.uncompressed_base += info->uncompressed_size;
this->node.compressed_base += info->file_size;
this->number += info->stream_number_add;
this->block_number_base += info->block_number_add;
index_tree_append(info->streams, &this->node);
if (right != NULL)
index_cat_helper(info, right);
return;
}
错误:
错误 C2143:语法错误:在 'this' 之前缺少 ')'
错误 C2447:“{”:缺少函数头(旧式正式列表?)
我正在寻找这些错误的来源。