摘要: #include int main() { printf("this fake error is in %s on line %d\n", __FILE__, __LINE__); return 0; } 阅读全文
posted @ 2017-03-04 21:31 zzyoucan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 内核时注意到有些函数会有添加__attribute__((unused)), 在gcc手册中找到了有关的解释: unused:This attribute, attached to a function, means that the function is meant to be possibly unused. GCC will not produce a warning f... 阅读全文
posted @ 2017-03-04 21:17 zzyoucan 阅读(1739) 评论(0) 推荐(0) 编辑