MPLAB® C30 C ç¼è¯å¨ç¨æ·æå
MPLAB® C30 C ç¼è¯å¨ç¨æ·æå MPLAB® C30 C ç¼è¯å¨ç¨æ·æå
MPLAB ® C30 用 户 指 南concatenation of string literals with __FUNCTION__ is deprecated对 __FUNCTION__ 的 处 理 方 式 将 与 __func__ ( 由 ISO 标 准 C99 定 义 ) 相 同 。__func__ 是 一 个 变 量 , 不 是 字 符 串 常 量 , 因 此 它 不 和 其 他 字 符 串 常 量 连 接 。conflicting types for ‘identifier’指 定 的 标 识 符 有 多 个 不 一 致 的 声 明 。Ddata definition has no type or storage class检 测 到 数 据 定 义 缺 少 类 型 和 存 储 类 别 。data qualifier ‘qualifier’ ignored在 MPLAB C30 中 不 使 用 数 据 限 定 符 , 包 括 “access”、“ shared” 和 “overlay”,之 所 以 保 留 它 们 是 为 了 与 MPLAB C17 和 C18 兼 容 。declaration of ‘identifier’ has ‘extern’ and is initialized外 部 标 识 符 不 能 被 初 始 化 。declaration of ‘identifier’ shadows a parameter指 定 的 标 识 符 声 明 屏 蔽 了 一 个 参 数 , 使 得 参 数 不 可 访 问 。declaration of ‘identifier’ shadows a symbol from the parameter list指 定 的 标 识 符 声 明 屏 蔽 了 参 数 列 表 中 的 一 个 符 号 , 使 得 该 符 号 不 可 访 问 。declaration of ‘identifier’ shadows global declaration指 定 的 标 识 符 声 明 屏 蔽 了 一 个 全 局 声 明 , 使 得 该 全 局 符 号 不 可 访 问 。‘identifier’ declared inline after being called指 定 的 函 数 在 被 调 用 之 后 声 明 为 inline。‘identifier’ declared inline after its definition指 定 的 函 数 在 被 定 义 之 后 声 明 为 inline。‘identifier’ declared ‘static’ but never defined指 定 的 函 数 声 明 为 static, 但 从 未 定 义 。decrement of read-only member ‘name’成 员 “name” 声 明 为 const, 不 能 被 递 减 修 改 。decrement of read-only variable ‘name’“name” 声 明 为 const, 不 能 被 递 减 修 改 。‘identifier’ defined but not used指 定 的 函 数 被 定 义 了 , 但 从 未 使 用 。deprecated use of label at end of compound statement标 号 不 能 位 于 语 句 的 结 尾 。 标 号 后 应 该 跟 随 一 条 语 句 。dereferencing ‘void *’ pointer解 引 用 “void *” 指 针 是 不 正 确 的 。 在 解 引 用 这 种 指 针 之 前 , 要 先 将 指 针 强 制 转 换 为 适当 类 型 的 指 针 。division by zero检 测 到 编 译 时 被 零 除 。DS51284C_CN 第 136 页© 2005 Microchip Technology Inc.
MPLAB C30 C 编 译 器 诊 断duplicate ‘const’“const” 限 定 符 只 能 用 于 声 明 一 次 。duplicate ‘restrict’“restrict” 限 定 符 只 能 用 于 声 明 一 次 。duplicate ‘volatile’“volatile” 限 定 符 只 能 用 于 声 明 一 次 。Eembedded ‘\0’ in format当 检 查 对 printf、 scanf 等 调 用 的 参 数 列 表 时 , 编 译 器 发 现 格 式 字 符 串 包 含 “\0”( 零 ), 这 可 能 导 致 格 式 字 符 串 处 理 过 早 终 止 。empty body in an else-statementelse 语 句 为 空 。empty body in an if-statementif 语 句 为 空 。empty declaration声 明 不 包 含 要 声 明 的 名 字 。empty range specifiedcase 范 围 中 的 值 范 围 为 空 , 即 低 表 达 式 的 值 比 高 表 达 式 的 值 大 。 case 范 围 的 语 法 为case low ... high:。‘enum identifier’ declared inside parameter list在 函 数 参 数 列 表 内 部 声 明 了 指 定 的 枚 举 。 良 好 的 编 程 习 惯 是 在 参 数 列 表 外 部 声 明 枚 举 ,因 为 在 参 数 列 表 内 部 定 义 枚 举 时 , 它 们 可 能 不 会 成 为 完 全 类 型 。enum defined inside parms在 函 数 参 数 列 表 内 部 定 义 了 枚 举 。enumeration value ‘identifier’ not handled in switchswitch 语 句 的 控 制 表 达 式 为 枚 举 类 型 , 但 并 非 所 有 的 枚 举 值 都 有 枚 举 值 都 有 case 表 达式 。enumeration values exceed range of largest integer枚 举 值 用 整 型 表 示 。 编 译 器 检 测 到 一 个 枚 举 范 围 用 任 何 MPLAB C30 整 型 格 式 , 包 括最 大 的 格 式 都 无 法 表 示 。excess elements in array initializer初 始 化 时 提 供 的 初 值 个 数 比 声 明 的 数 组 元 素 个 数 多 。excess elements in scalar initializer");只 能 对 标 量 变 量 初 始 化 一 次 。excess elements in struct initializer对 结 构 进 行 初 始 化 时 提 供 的 初 值 数 比 声 明 的 结 构 成 员 数 多 。excess elements in union initializer联 合 的 初 始 化 列 表 中 的 成 员 数 比 声 明 的 联 合 成 员 数 多 。© 2005 Microchip Technology Inc. DS51284C_CN 第 137 页
- Page 91 and 92: 器 件 支 持 文 件6.7.2 使
- Page 93 and 94: MPLAB ® C30用 户 指 南第 7
- Page 95 and 96: 中 断7.3.3 为 中 断 服 务
- Page 97 and 98: 中 断表 7-1: 中 断 向 量 (
- Page 99 and 100: 中 断7.6 中 断 响 应 时 间7
- Page 101 and 102: 第 8 章 汇 编 语 言 和 C 模
- Page 103 and 104: 汇 编 语 言 和 C 模 块 混
- Page 105 and 106: 汇 编 语 言 和 C 模 块 混
- Page 107 and 108: MPLAB ® C30用 户 指 南附 录
- Page 109 and 110: 实 现 定 义 的 操 作A.4 标
- Page 111 and 112: 实 现 定 义 的 操 作下 表
- Page 113 and 114: 实 现 定 义 的 操 作A.14 预
- Page 115 and 116: 实 现 定 义 的 操 作A.16 信
- Page 117 and 118: 实 现 定 义 的 操 作A.23 GET
- Page 119 and 120: 附 录 B MPLAB C30 C 编 译 器
- Page 121 and 122: MPLAB C30 C 编 译 器 诊 断ambi
- Page 123 and 124: MPLAB C30 C 编 译 器 诊 断cast
- Page 125 and 126: MPLAB C30 C 编 译 器 诊 断F‘
- Page 127 and 128: MPLAB C30 C 编 译 器 诊 断init
- Page 129 and 130: MPLAB C30 C 编 译 器 诊 断inva
- Page 131 and 132: MPLAB C30 C 编 译 器 诊 断Nneg
- Page 133 and 134: MPLAB C30 C 编 译 器 诊 断Rred
- Page 135 and 136: MPLAB C30 C 编 译 器 诊 断symb
- Page 137 and 138: MPLAB C30 C 编 译 器 诊 断void
- Page 139 and 140: MPLAB C30 C 编 译 器 诊 断anon
- Page 141: MPLAB C30 C 编 译 器 诊 断comp
- Page 145 and 146: MPLAB C30 C 编 译 器 诊 断func
- Page 147 and 148: MPLAB C30 C 编 译 器 诊 断‘i
- Page 149 and 150: MPLAB C30 C 编 译 器 诊 断libr
- Page 151 and 152: MPLAB C30 C 编 译 器 诊 断Ppar
- Page 153 and 154: MPLAB C30 C 编 译 器 诊 断shif
- Page 155 and 156: MPLAB C30 C 编 译 器 诊 断too
- Page 157 and 158: MPLAB C30 C 编 译 器 诊 断V__V
- Page 159 and 160: MPLAB ® C30用 户 指 南附 录
- Page 161 and 162: MPLAB C18 与 MPLAB C30 C 编 译
- Page 163 and 164: MPLAB C18 与 MPLAB C30 C 编 译
- Page 165 and 166: MPLAB C18 与 MPLAB C30 C 编 译
- Page 167 and 168: MPLAB ® C30用 户 指 南附 录
- Page 169 and 170: MPLAB ® C30用 户 指 南附 录
- Page 171 and 172: GNU 免 费 文 档 许 可 证您
- Page 173 and 174: GNU 免 费 文 档 许 可 证5.
- Page 175 and 176: MPLAB ® C30用 户 指 南术 语
- Page 177 and 178: 术 语 表非 实 时 (Non Real-Ti
- Page 179 and 180: 术 语 表警 告 (Warning)提 醒
- Page 181 and 182: 术 语 表MPLINK 目 标 链 接
- Page 183 and 184: 术 语 表Single Step这 一 命
- Page 185 and 186: 术 语 表未 初 始 化 数 据
- Page 187 and 188: MPLAB ® C30用 户 指 南索 引
- Page 189 and 190: 索 引-fno-unsigned-bitfields.....
- Page 191 and 192: 索 引-msmall-code ...............
MPLAB <strong>C30</strong> C 编 译 器 诊 断duplicate ‘const’“const” 限 定 符 只 能 用 于 声 明 一 次 。duplicate ‘restrict’“restrict” 限 定 符 只 能 用 于 声 明 一 次 。duplicate ‘volatile’“volatile” 限 定 符 只 能 用 于 声 明 一 次 。Eembedded ‘\0’ in format当 检 查 对 printf、 scanf 等 调 用 的 参 数 列 表 时 , 编 译 器 发 现 格 式 字 符 串 包 含 “\0”( 零 ), 这 可 能 导 致 格 式 字 符 串 处 理 过 早 终 止 。empty body in an else-statementelse 语 句 为 空 。empty body in an if-statementif 语 句 为 空 。empty declaration声 明 不 包 含 要 声 明 的 名 字 。empty range specifiedcase 范 围 中 的 值 范 围 为 空 , 即 低 表 达 式 的 值 比 高 表 达 式 的 值 大 。 case 范 围 的 语 法 为case low ... high:。‘enum identifier’ declared inside parameter list在 函 数 参 数 列 表 内 部 声 明 了 指 定 的 枚 举 。 良 好 的 编 程 习 惯 是 在 参 数 列 表 外 部 声 明 枚 举 ,因 为 在 参 数 列 表 内 部 定 义 枚 举 时 , 它 们 可 能 不 会 成 为 完 全 类 型 。enum defined inside parms在 函 数 参 数 列 表 内 部 定 义 了 枚 举 。enumeration value ‘identifier’ not handled in switchswitch 语 句 的 控 制 表 达 式 为 枚 举 类 型 , 但 并 非 所 有 的 枚 举 值 都 有 枚 举 值 都 有 case 表 达式 。enumeration values exceed range of largest integer枚 举 值 用 整 型 表 示 。 编 译 器 检 测 到 一 个 枚 举 范 围 用 任 何 MPLAB <strong>C30</strong> 整 型 格 式 , 包 括最 大 的 格 式 都 无 法 表 示 。excess elements in array initializer初 始 化 时 提 供 的 初 值 个 数 比 声 明 的 数 组 元 素 个 数 多 。excess elements in scalar initializer");只 能 对 标 量 变 量 初 始 化 一 次 。excess elements in struct initializer对 结 构 进 行 初 始 化 时 提 供 的 初 值 数 比 声 明 的 结 构 成 员 数 多 。excess elements in union initializer联 合 的 初 始 化 列 表 中 的 成 员 数 比 声 明 的 联 合 成 员 数 多 。© 2005 Microchip Technology Inc. DS51284C_CN 第 137 页