Environment Language Extensions Documentation Character Sets Identifiers Types Constants Declarations and Definitions Declarations and Definitions Initialisation Arithmetic Type Conversions Pointer Type Conversions Expressions Control Statement Expressions Control Flow Control Flow Switch Statements Functions Pointers and Arrays Structures and Unions Preprocessing Directives Preprocessing Directives Standard Libraries Run -Time Failures All code shall conform toISO 9899:1990 Cprogramming language, ISO 9899, amended and corrected byISO/IEC 9899/COR1:1995, ISO/IEC 9899/AMD1:1995, and ISO/IEC 9899/COR2: 1996 Noreliance shall beplaced onundefined orunspecified behaviour. pilers and/or languages shall only beused ifthere mon defined interface standard for object code towhich the pilers/assemblers conform. piler/linker shall bechecked toensure that 31character significance and case sensitivity are supported for external identifiers. Floating -point implementations ply with adefined floating -point standard. Assembly language shall beencapsulated and isolated. Source code shall only use C-ments. The character sequence /*shall not beused within acomment. Sections ofcode should not mented out'. All usage ofimplementation -defined behaviour shall bedocumented. The character set and the corresponding encodin
MISRA-C2004 中文版 来自淘豆网www.taodocs.com转载请标明出处.