美文网首页
ARMCC/ARMCLANG

ARMCC/ARMCLANG

作者: FanLia | 来源:发表于2019-08-15 16:07 被阅读0次

    ARMCC

    知识点

    • keil中使用Using default compiler version5 / 6,其实实际调用的是当前ARMCC/ARMCLANG的最新版本编译器

    ARMCLANG - Arm C/C++ (AC6) Compiler

    Warnings

    Control generation of diagnostics with the following settings:

    • <unspecified> — adds no compiler control string. The behavior depends on compiler defaults or on options set on parent uVision group levels. Is the default setting.
    • No Warnings — no diagnostics are shown. Sets the compiler control string -W.
    • All Warnings — is the uVision default setting. Show all diagnostics (-Weverything) and excludes (-Wno-xxx) those listed in the compiler control string:
      -Weverything
      -Wno-reserved-id-macro
      -Wno-unused-macros
      -Wno-documentation-unknown-command
      -Wno-documentation
    • AC5-like Warnings — show all warnings that ARM Compiler 5 would show. Suppresses the following warnings:
      -Wno-missing-variable-declarations
      -Wno-missing-prototypes
      -Wno-missing-noreturn
      -Wno-sign-conversion
      -Wnonportable-include-path
      -Wno-packed
      -Wno-reserved-id-macro
      -Wno-unused-macros
      -Wno-documentation-unknown-command
      -Wno-documentation
      -Wno-license-management
      -Wno-parentheses-equality
    • MISRA compatible — show all warnings except those that conflict with MISRA rules. Adds the control strings:
      -Wno-covered-switch-default
      -Wno-unreachable-code-break

    相关文章

      网友评论

          本文标题:ARMCC/ARMCLANG

          本文链接:https://www.haomeiwen.com/subject/zqmzjctx.html