gcc 常见的编译警告与错误(按字母顺序排列)备课讲稿 下载本文

内容发布更新时间 : 2024/5/29 19:17:26星期一 下面是文章的全部内容请认真阅读。

精品文档

this is the location of the previous definition 这是先前定义的位置

this use of \\defined\\ may not be portable 使用“defined可能不利于移植

token \\%s\\ is not valid in preprocessor expressions 标识符“%s”在预处理表达式中无效

too many decimal points in number 数字中有太多小数点

traditional C ignores #%s with the # indented 当 # 有缩进时传统 C 忽略 #%s

traditional C rejects the \\%.*s\\ suffix 传统 C 不接受“%.*s后缀

traditional C rejects the unary plus operator 传统 C 不接受单目 + 运算符

trigraph ??%c converted to %c 三元符 ??%c 转换为 %c

trigraph ??%c ignored, use -trigraphs to enable 三元符 ??%c 被忽略,请使用 -trigraphs 来启用

unbalanced stack in %s %s 中堆栈不平衡

undefining \\%s\\ 取消对“%s”的定义

收集于网络,如有侵权请联系管理员删除

精品文档

unexpected end of file after #line #line 后未预期的文件结束

universal character %.*s is not valid at the start of an identifier Unicode 字符 %.*s 在标识符开头无效

universal character %.*s is not valid in an identifier Unicode 字符 %.*s 在标识符中无效

universal character names are only valid in C++ and C99 Unicode 字符名只在 C++ 和 C99 中有效

unknown escape sequence: ‘\\\\%c’ 未知的转义序列:‘\\\\%c’

unknown escape sequence: ‘\\\\%s’ 未知的转义序列:‘\\\\%s’

unspellable token %s 无法拼出的标识符 %s

unterminated #%s 未终止的 #%s

unterminated argument list invoking macro \\%s\\ 调用宏“%s”时参数列表未终止

unterminated comment 未结束的注释

unterminated raw string 未终止的原始字符串

收集于网络,如有侵权请联系管理员删除

精品文档

use of C++0x long long integer constant 使用 C++0x long long 整数常量

use of C99 hexadecimal floating constant 使用 C99 式的 16 进制浮点常量

use -Winvalid-pch for more information 使用 -Winvalid-pch 以获得更多信息

while reading precompiled header 在读取预编译头时

while writing precompiled header 在写入预编译头时

收集于网络,如有侵权请联系管理员删除