美文网首页
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

    ARMCC 知识点 在keil中使用Using default compiler version5 / 6,其实实...

  • keil开发:如何让所需函数不被优化?

    前言 当我们不管是使用gcc还是keil自带的armcc或者armclang进行开发的时候,会遇到一个问题,就是:...

  • MDK中armclang编译器

    MDK以及DS5等工具中主推的编译器已经更换为armclang编译器。而原来的armcc编译器已经不再更新,只是提...

  • 集成 armcc 到 scons

    集成 armcc 到 scons 集成 armcc 到 scons 中并不是件容易的事情,如果只是修改 CC/CX...

  • STM32调用C库自带函数

    在MDK5的安装路径中:D:\MDK5\ARM\ARMCC\include,可以看到很多C库头文件,在程序中只要包...

  • 在KEIL5中添加和选择ARMCC版本

    最近公司项目维护上遇到一个问题,早前项目有一个发布版本,包含源代码和Hex文件。继续维护时发现对源代码进行编译获得...

网友评论

      本文标题:ARMCC/ARMCLANG

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