MPLAB® C30 C 编译器用户指南

MPLAB® C30 C 编译器用户指南 MPLAB® C30 C 编译器用户指南

ie.ksu.edu.tw
from ie.ksu.edu.tw More from this publisher
10.07.2015 Views

MPLAB ® C30 用 户 指 南section attribute cannot be specified for local variables局 部 变 量 总 是 分 配 在 寄 存 器 或 堆 栈 中 。 因 此 试 图 将 局 部 变 量 存 放 在 指 定 的 段 中 是 非 法的 。section attribute not allowed for identifier段 属 性 只 能 用 于 函 数 或 变 量 。section of identifier conflicts with previous declaration如 果 同 一 个 标 识 符 identifier 有 多 个 声 明 指 定 段 属 性 , 那 么 属 性 的 值 必 须 一 致 。sfr address ‘address’ is not valid地 址 必 须 小 于 0x2000 才 有 效 。sfr address is not a constantsfr 地 址 必 须 为 常 量 。‘size of’ applied to a bit-field“sizeof” 不 能 用 于 位 域 。size of array ‘identifier’ has non-integer type数 组 长 度 说 明 符 必 须 为 整 型 。size of array ‘identifier’ is negative数 组 长 度 不 能 为 负 数 。size of array ‘identifier’ is too large指 定 的 数 组 长 度 太 大 。size of variable ‘variable’ is too large变 量 的 最 大 长 度 为 32768 字 节 。storage class specified for parameter ‘identifier’不 能 对 参 数 指 定 存 储 类 别 。storage size of ‘identifier’ isn’t constant标 识 符 的 存 储 长 度 在 编 译 时 必 须 为 常 量 。storage size of ‘identifier’ isn’t known标 识 符 identifier 的 长 度 没 有 完 全 指 定 。stray ‘character’ in program源 程 序 中 不 要 有 不 需 要 的 字 符 。strftime formats cannot format arguments使 用 format 属 性 时 , 当 archetype 参 数 为 strftime 时 , 属 性 的 第 三 个 参 数 , 即 指 定 要与 格 式 字 符 串 匹 配 的 第 一 个 参 数 的 参 数 , 应 该 为 0。 strftime 型 函 数 没 有 与 格 式 字 符 串匹 配 的 输 入 值 。structure has no member named ‘identifier’引 用 了 名 为 “identifier” 的 一 个 结 构 成 员 , 但 引 用 的 结 构 不 包 含 这 种 成 员 。 这 是 不 允许 的 。subscripted value is neither array nor pointer只 有 数 组 和 指 针 可 以 有 下 标 。switch quantity not an integerswitch 后 表 达 式 的 值 必 须 为 整 型 。DS51284C_CN 第 128 页© 2005 Microchip Technology Inc.

MPLAB C30 C 编 译 器 诊 断symbol ‘symbol’ not defined在 pragma 中 使 用 符 号 “symbol” 前 , 要 先 对 它 进 行 声 明 。syntax error指 定 的 行 中 存 在 语 法 错 误 。syntax error ‘:’ without preceding ‘?’在 “?:” 操 作 符 中 ,“:” 前 必 须 要 有 “?”。Tthe only valid combination is ‘long double’double 类 型 前 只 能 使 用 long 限 定 符 , 不 能 使 用 其 他 限 定 符 。this built-in requires a frame pointer__builtin_return_address 需 要 一 个 帧 指 针 。 不 要 使 用 -fomit-frame-pointer 选项 。this is a previous declaration如 果 标 号 重 复 , 这 条 消 息 标 识 出 前 一 个 声 明 的 行 号 。too few arguments to function在 C 中 调 用 函 数 时 , 指 定 的 参 数 个 数 不 要 少 于 函 数 需 要 的 参 数 个 数 。 也 不 能 指 定 太 多的 参 数 。too few arguments to function ‘identifier’在 C 中 调 用 函 数 时 , 指 定 的 参 数 个 数 不 要 少 于 函 数 需 要 的 参 数 个 数 。 也 不 能 指 定 太 多的 参 数 。too many alternatives in ‘asm’asm 语 句 无 效 。too many arguments to function在 C 中 调 用 函 数 时 , 指 定 的 参 数 个 数 不 要 多 于 函 数 需 要 的 参 数 个 数 , 也 不 要 指 定 太 少的 参 数 。too many arguments to function ‘identifier’在 C 中 调 用 函 数 时 , 指 定 的 参 数 个 数 不 要 多 于 函 数 需 要 的 参 数 个 数 , 也 不 要 指 定 太 少的 参 数 。too many decimal points in number只 需 要 一 个 小 数 点 。top-level declaration of ‘identifier’ specifies ‘auto’只 能 在 函 数 内 部 声 明 自 动 变 量 。two or more data types in declaration of ‘identifier’每 个 标 识 符 只 能 有 一 个 数 据 类 型 。two types specified in one empty declaration只 能 指 定 一 种 类 型 。type of formal parameter n is incomplete要 为 指 定 的 参 数 指 定 一 个 完 全 的 类 型 。type mismatch in conditional expression条 件 表 达 式 中 的 类 型 要 匹 配 。typedef ‘identifier’ is initialized初 始 化 typedef 标 识 符 是 非 法 的 。 要 使 用 __typeof__。© 2005 Microchip Technology Inc. DS51284C_CN 第 129 页

MPLAB ® <strong>C30</strong> 用 户 指 南section attribute cannot be specified for local variables局 部 变 量 总 是 分 配 在 寄 存 器 或 堆 栈 中 。 因 此 试 图 将 局 部 变 量 存 放 在 指 定 的 段 中 是 非 法的 。section attribute not allowed for identifier段 属 性 只 能 用 于 函 数 或 变 量 。section of identifier conflicts with previous declaration如 果 同 一 个 标 识 符 identifier 有 多 个 声 明 指 定 段 属 性 , 那 么 属 性 的 值 必 须 一 致 。sfr address ‘address’ is not valid地 址 必 须 小 于 0x2000 才 有 效 。sfr address is not a constantsfr 地 址 必 须 为 常 量 。‘size of’ applied to a bit-field“sizeof” 不 能 用 于 位 域 。size of array ‘identifier’ has non-integer type数 组 长 度 说 明 符 必 须 为 整 型 。size of array ‘identifier’ is negative数 组 长 度 不 能 为 负 数 。size of array ‘identifier’ is too large指 定 的 数 组 长 度 太 大 。size of variable ‘variable’ is too large变 量 的 最 大 长 度 为 32768 字 节 。storage class specified for parameter ‘identifier’不 能 对 参 数 指 定 存 储 类 别 。storage size of ‘identifier’ isn’t constant标 识 符 的 存 储 长 度 在 编 译 时 必 须 为 常 量 。storage size of ‘identifier’ isn’t known标 识 符 identifier 的 长 度 没 有 完 全 指 定 。stray ‘character’ in program源 程 序 中 不 要 有 不 需 要 的 字 符 。strftime formats cannot format arguments使 用 format 属 性 时 , 当 archetype 参 数 为 strftime 时 , 属 性 的 第 三 个 参 数 , 即 指 定 要与 格 式 字 符 串 匹 配 的 第 一 个 参 数 的 参 数 , 应 该 为 0。 strftime 型 函 数 没 有 与 格 式 字 符 串匹 配 的 输 入 值 。structure has no member named ‘identifier’引 用 了 名 为 “identifier” 的 一 个 结 构 成 员 , 但 引 用 的 结 构 不 包 含 这 种 成 员 。 这 是 不 允许 的 。subscripted value is neither array nor pointer只 有 数 组 和 指 针 可 以 有 下 标 。switch quantity not an integerswitch 后 表 达 式 的 值 必 须 为 整 型 。DS51284C_CN 第 128 页© 2005 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!