12.07.2015 Views

RealView 编译工具编译器参考指南 - ARM Information Center

RealView 编译工具编译器参考指南 - ARM Information Center

RealView 编译工具编译器参考指南 - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

编 译 器 命 令 行 选 项2.1.47 --diag_error=tag[,tag,...]此 选 项 将 具 有 指 定 标 签 的 诊 断 消 息 设 置 为 “ 错 误 ” 严 重 性 。注 意此 选 项 使 #pragma 等 效 于 #pragma diag_error。语 法--diag_error=tag[,tag,...]其 中 :tag[,tag,...]是 一 个 以 逗 号 分 隔 的 诊 断 消 息 编 号 列 表 , 用 于 指 定 要 更 改 其严 重 性 的 消 息 。必 须 至 少 指 定 一 个 诊 断 消 息 编 号 。指 定 多 个 诊 断 消 息 编 号 时 , 不 能 在 列 表 中 的 逗 号 和 参 数 名 称之 间 留 有 空 格 。用 法可 更 改 下 列 类 型 的 诊 断 消 息 的 严 重 性 :• 具 有 编 号 格 式 #nnnn-D 的 消 息 。• 编 号 格 式 为 CnnnnW 的 警 告 消 息 。另 请 参 阅• 第 2-45 页 的 --diag_remark=tag[,tag,... ]• 第 2-46 页 的 --diag_suppress=tag[,tag,...]• 第 2-48 页 的 --diag_warning=tag[,tag,...]• 第 4-59 页 的 #pragma diag_error tag[,tag,...]• 《 编 译 器 用 户 指 南 》 中 第 6-5 页 的 更 改 诊 断 消 息 的 严 重 性 。2-44 Copyright © 2007-2009 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348BCNon-Confidential, Unrestricted AccessID090708

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

Saved successfully!

Ooh no, something went wrong!