Chinaunix首页 | 论坛 | 博客

分类: C/C++

2012-02-16 18:56:36

代码:
  if (-1 == munmap (buffers->start, buffer->length))

错误:
error: expected primary-expression before '.' token

原因:
‘.’前面的表达式有误,仔细一看,原来是buffers写成是buffer
 
修改后:
  if (-1 == munmap (buffers->start, buffers->length))
阅读(21304) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~