2024年4月22日发(作者:匡安康)
1.4, 5.1Required 17 D The compiler/linker shall be checked to ensure
that 31 character significance and case sensitivity
are supported for external identifiers.
Identifier not unique within 31 characters. 1.5Advisory N/A
Floating-point implementations should comply
with a defined floating-point standard.
N/A
2.1Required 88 S
Assembly language shall be encapsulated and
isolated.
Procedure is not pure assembler. 2.2Required 110 S
Source code shall only use /* … */ style
comments.
Use of single line comment(s) //. 2.3Required 119 S
The character sequence /* shall not be used
within a comment.
Nested comment found
2.4Advisory 302 S Sections of code should not be “commented out”. Comment possibly contains code
3.1Required N/A
All usage of implementation-defined behaviour shall be documented.
N/A 3.2Required N/A
The character set and the corresponding
encoding shall be documented.
N/A
3.3Advisory 373 S The implementation of integer division in the
chosen compiler should be determined,
documented and taken into account.
Use of integer division 3.4
Required
69 S
All uses of the #pragma directive shall be
documented and explained.#pragma used.
LDRA Ltd. reserves the right to change any
MISRA-C:2004
Rule Required / Advisory LDRA Rule Number MISRA Description LDRA Rule Description
316 S
Bit field is not unsigned integral. 328 S Non bit field member in bitfield struct. 42 S Use of bit field in structure declaration. 226 S
Bit field is not octal, hex or suffix u;
2024年4月22日发(作者:匡安康)
1.4, 5.1Required 17 D The compiler/linker shall be checked to ensure
that 31 character significance and case sensitivity
are supported for external identifiers.
Identifier not unique within 31 characters. 1.5Advisory N/A
Floating-point implementations should comply
with a defined floating-point standard.
N/A
2.1Required 88 S
Assembly language shall be encapsulated and
isolated.
Procedure is not pure assembler. 2.2Required 110 S
Source code shall only use /* … */ style
comments.
Use of single line comment(s) //. 2.3Required 119 S
The character sequence /* shall not be used
within a comment.
Nested comment found
2.4Advisory 302 S Sections of code should not be “commented out”. Comment possibly contains code
3.1Required N/A
All usage of implementation-defined behaviour shall be documented.
N/A 3.2Required N/A
The character set and the corresponding
encoding shall be documented.
N/A
3.3Advisory 373 S The implementation of integer division in the
chosen compiler should be determined,
documented and taken into account.
Use of integer division 3.4
Required
69 S
All uses of the #pragma directive shall be
documented and explained.#pragma used.
LDRA Ltd. reserves the right to change any
MISRA-C:2004
Rule Required / Advisory LDRA Rule Number MISRA Description LDRA Rule Description
316 S
Bit field is not unsigned integral. 328 S Non bit field member in bitfield struct. 42 S Use of bit field in structure declaration. 226 S
Bit field is not octal, hex or suffix u;