gcc编译时产生的错误提示
时间:2007-05-21 来源:wucailiuxing
这是我学习gcc时所遇到的编译所提示的错误提示:
1. warning: unused variable' ' 警告你声明了一些变量但没有使用.
2. undefined reference to' ' 没有找到要链接的符号。
3. warning: no newline at end of file 文件位缺少标识符"\n".
4. syntax error before ' ' 在该位置之前有语法错误。
5. invalid conversion from `int' to `const void*' 不能把int类型的值放入到const void*类型中去。
6. ' ' undeclared (first use this function) 没有定义。
7. void value not ignored as it ought to be 没有返回值。
相关阅读 更多 +