10.07.2015 Views

MPLAB® C30 C 编译器用户指南

MPLAB® C30 C 编译器用户指南

MPLAB® C30 C 编译器用户指南

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MPLAB ® <strong>C30</strong> 用 户 指 南ISO C restricts enumerator values to range of ‘int’枚 举 值 的 范 围 不 能 超 过 int 类 型 的 范 围 。ISO C89 forbids compound literals复 合 立 即 数 在 ISO C89 中 无 效 。ISO C89 forbids mixed declarations and code应 在 写 任 何 代 码 之 前 先 进 行 声 明 。 不 要 将 声 明 和 代 码 混 合 在 一 起 。ISO C90 does not support ‘[*]’ array declaratorsISO C90 不 支 持 可 变 长 度 的 数 组 。ISO C90 does not support complex typesISO C90 不 支 持 复 数 类 型 , 如 __complex__ float x。ISO C90 does not support flexible array members灵 活 的 数 组 元 素 是 C99 的 一 个 新 特 性 。 ISO C90 不 支 持 灵 活 的 数 组 元 素 。ISO C90 does not support ‘long long’ISO C90 不 支 持 long long 类 型 。ISO C90 does not support ‘static’ or type qualifiers in parameter arraydeclarators当 使 用 一 个 数 组 作 为 函 数 的 参 数 时 , ISO C90 不 允 许 数 组 声 明 使 用 “static” 或 类 型限 定 符 。ISO C90 does not support the ‘char’ ‘function’ formatISO C 不 支 持 对 指 定 的 函 数 格 式 使 用 说 明 字 符 “char”。ISO C90 does not support the ‘modifier’ ‘function’ length modifier不 支 持 将 指 定 修 饰 符 作 用 作 给 定 函 数 的 长 度 修 饰 符 。ISO C90 forbids variable-size array ‘name’在 ISO C90 中 , 必 须 通 过 整 型 常 量 表 达 式 来 指 定 数 组 中 的 元 素 个 数 。Llabel ‘identifier’ defined but not used定 义 了 指 定 的 标 号 , 但 未 引 用 。large integer implicitly truncated to unsigned type源 代 码 中 的 某 个 整 型 常 量 值 没 有 显 式 的 unsigned 修 饰 符 , 但 该 数 值 不 能 表 示 为 signedint ; 因 此 , 编 译 器 自 动 将 这 个 整 型 常 量 值 视 为 unsigned int。left-hand operand of comma expression has no effect比 较 的 一 个 操 作 数 为 提 升 的 ~unsigned, 但 另 一 个 操 作 数 为 unsigned。left shift count >= width of type移 位 位 数 不 应 小 于 被 移 位 的 类 型 中 的 位 数 。 否 则 , 移 位 没 有 意 义 , 且 结 果 不 确 定 。left shift count is negative移 位 位 数 应 该 为 正 数 。 负 的 左 移 位 数 并 不 意 味 着 右 移 ; 这 是 没 有 意 义 的 。DS51284C_CN 第 142 页© 2005 Microchip Technology Inc.

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

Saved successfully!

Ooh no, something went wrong!