mt6620.lnt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Please note -- this is the set of error/warning suppression options
  2. // for MT6620 driver.
  3. // Microsoft C/C++, Versions 4.0 - 12.0(VC6)
  4. -cmsc
  5. //===========================================================================
  6. // Define include path of MT6620 headers
  7. // Currently we'll use windows' gl_os.h
  8. //
  9. -i".\include"
  10. -i".\include\nic"
  11. -i".\os"
  12. -i".\os\windows\include"
  13. -i".\os\windows\ce\hif\sdio\include"
  14. //===========================================================================
  15. // NOTE(Kevin): we need to define following compiling flags to avoid
  16. // Warning 553: Undefined preprocessor variable.
  17. //
  18. -dDBG=1
  19. -dMT6620
  20. //===========================================================================
  21. // Integer-model-for-Enum flag (default OFF).
  22. // Warning 641: Converting enum 'ENUM_INT_EVENT_T' to int
  23. // for (u4IntIdx = 0; u4IntIdx < INT_EVENT_NUM; u4IntIdx++)
  24. +fie
  25. //===========================================================================
  26. // dump.c
  27. // Warning 661: Possible access of out-of-bounds pointer
  28. // Warning 662: Possible creation of out-of-bounds pointer
  29. -efunc(613,dumpMemory8)
  30. -efunc(661,dumpMemory8)
  31. -efunc(662,dumpMemory8)
  32. -efunc(613,dumpMemory32)
  33. -efunc(661,dumpMemory32)
  34. -efunc(662,dumpMemory32)
  35. //Warning 507: Size incompatibility - (UINT_8)NULL
  36. -emacro(507,NULL)
  37. // debug.h
  38. //Warning 506: Constant value Boolean
  39. -emacro(506,DBGLOG)
  40. -emacro(774,DBGLOG)
  41. // ASSERT(0)
  42. -emacro(506,ASSERT)
  43. -emacro(774,ASSERT)
  44. // Ignore WARN 621 Likeness between Symbols - identifier clash
  45. -e621
  46. // Ignore INFO 793 ANSI limit of 1024 'macros in module' exceeded
  47. // Ignore INFO 793 ANSI limit of 6 'external identifiers
  48. -e793
  49. // Ignore NOTE 950 Non-ANSI reserved word or construct: '//'
  50. -e950
  51. -emacro(534, HAL_MCR_RD)
  52. -emacro(534, HAL_MCR_WR)
  53. -emacro(534, HAL_PORT_RD)
  54. -emacro(534, HAL_PORT_WR)
  55. //Ignore fgIsTransition not used warning, actuall used at macro
  56. -e550
  57. //Kevin: Ignore Warning 534: Ignoring return value of function
  58. -e534
  59. //Kevin: Ignore Warning 526: Symbol 'kal*()' not defined
  60. -e526
  61. //Kevin: Ignore Warning 506: Constant value Boolean [MTK Rule 6.1.3]
  62. // MTK Rule 6.1.3 metion that we shouldn't write code like that - if (fgXxx == TRUE)
  63. // However Warning 506 cannot check that, it only can check while(0), while(1), if (1) ... cases
  64. -e506
  65. //Kevin: Ignore Warning 613, the null pointer should be check by every handler.
  66. -efunc(613, wlanSetInformation, wlanQueryInformation)
  67. -efunc(415,wlanoidQueryCapability)
  68. -efunc(416,wlanoidQueryCapability)