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
网友评论