报了一堆错误
[C] 纯文本查看 复制代码 Preparing for PC-Lint...
Running PC-Lint...
PC-lint Plus 2.2 for Windows, Copyright Vector Informatik GmbH 1985-2024
licensed to Beta Tester
30-sep-2025, license expires 28-oct-2099 (27057 days)
C:\Keil_v5\UV4\Lint\co-ARMCC-5.lnt 16 error 72: bad option '+rw(__is_union,
__is_polymorphic,
__is_pod,
__is_enum,
__is_empty,
__is_convertible_to,
__is_class,
__is_base_of,
__is_abstract,
__has_virtual_destructor,
__has_user_destructor,
__has_trivial_destructor,
__has_trivial_copy,
__has_trivial_constructor,
__has_trivial_assign,
__has_nothrow_copy,
__has_nothrow_constructor,
__has_nothrow_assign,
__has_copy,
__has_assign,
__thread,
__null,
__typeof__,
__declspec,
_Pragma,
__value_in_regs,
)': empty argument to '+rw' ignored
+rw(__is_union,
^
C:\Keil_v5\UV4\Lint\co-ARMCC-5.lnt 84 error 72: bad option '+pragma(
include_alias, include_alias )': unrecognized action
+pragma( include_alias, include_alias )
^
C:\Keil_v5\UV4\Lint\au-misra1.lnt 33 warning 654: option '-misra' is
obsolete; MISRA messages now respect the normal rules of message activation
-misra(1)
^
C:\Keil_v5\UV4\Lint\au-misra1.lnt 34 warning 686: option '+e960' is
suspicious: MISRA diagnostics are no longer issued via message '960'
+e960 /* enable special MISRA messages */
^
C:\Keil_v5\UV4\Lint\au-misra1.lnt 35 warning 686: option '+elib(960)' is
suspicious: MISRA diagnostics are no longer issued via message '960'
+elib(960)
^
C:\Keil_v5\UV4\Lint\au-misra1.lnt 36 warning 686: option '+e961' is
suspicious: MISRA diagnostics are no longer issued via message '961'
+e961 /* enable special MISRA messages */
^
C:\Keil_v5\UV4\Lint\au-misra1.lnt 37 warning 686: option '+elib(961)' is
suspicious: MISRA diagnostics are no longer issued via message '961'
+elib(961)
^
C:\Keil_v5\UV4\Lint\au-misra1.lnt 41 warning 654: option '-A' is obsolete;
use -std to specify language versions
-A(C90) /* strict ANSI */
^
--- Module: ..\APP\src\app.c (C)
unsigned __int64 __pos;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdio.h(88) error 4646: expected ';' at end of declaration list
typedef signed __INT64 int64_t;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdint.h(59) error 4933: expected ';' after top level declarator
typedef unsigned __INT64 uint64_t;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdint.h(65) error 4933: expected ';' after top level declarator
typedef signed __INT64 int_least64_t;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdint.h(74) error 4933: expected ';' after top level declarator
typedef unsigned __INT64 uint_least64_t;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdint.h(80) error 4933: expected ';' after top level declarator
typedef signed __INT64 int_fast64_t;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdint.h(88) error 4933: expected ';' after top level declarator
typedef unsigned __INT64 uint_fast64_t;
^
*** LINT: C:\Keil_v5\ARM\AC5\include\stdint.h(94) error 4933: expected ';' after top level declarator
__attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
^
*** LINT: C:\Keil_v5\ARM\CMSIS\Include\core_cmInstr.h(129) error 5915: unknown type name '__asm'
#define __ASM __asm /*!< asm keyword for ARM Compiler */
^
*** LINT: C:\Keil_v5\ARM\CMSIS\Include\core_cm3.h(80) supplemental 893: expanded from macro '__ASM'
__attribute__((section(".rev16_text"))) __STATIC_INLINE __ASM uint32_t __REV16(uint32_t value)
|