Image
Image

cnjenkins

+ 关注

粉丝 1     |     主题 1     |     回帖 24

MISRA C 2004
2007-9-19 08:43
  • 嵌入式操作系统论坛
  • 23
  • 3667
  我是从下面图片中看的。我的翻译本来就差,发上来是希望有人能够帮忙翻译下。http://210.51.184.98/mes/upl ...  
  20.1 Reserved identifiers, macros and functions in the stand ...  
  21.1 Minimisation of run-time failures shall be ensured by&n ...  
  18.1 All structure and union types shall be complete at ...  
  19.1 #include statements in a file should only be prece ...  
  16.1 Functions shall not be defined with a variable num ...  
  17.1 Pointer arithmetic shall only be applied to pointers&nb ...  
  14.1 There shall be no unreachable code.翻译:14.2 All non-n ...  
  15.1 A switch label shall only be used when the mo ...  
  12.1 Limited dependence should be placed on C’s operator&nb ...  
  13.1 Assignment operators shall not be used in expressions&n ...  
  10.1 The value of an expression of integer type shall&n ...  
  11.1 Conversions shall not be performed between a pointer&nb ...  
  9.1 All automatic variables shall have been assigned a  ...  
  7.1 Octal constants (other than zero) and octal escape  ...  
  8.1 Functions shall have prototype declarations and the prot ...  
  5.1 Identifiers (internal and external) shall not rely on&nb ...  
  6.1 The plain char type shall be used only for the ...  
  4.1 Only those escape sequences that are defined in the ...  
  2.1 Assembly language shall be encapsulated and isolated.翻译:2. ...  
2
3
近期访客