📄 cmd911x.lnt
字号:
//////////////////////////////////////////////////////////////////////
// //
// File: cmd911x.Lnt //
// //
// Global lint settings for the LAN911x Driver //
// //
//////////////////////////////////////////////////////////////////////
-voih // Verbosity options, directs msg to standard error and standard out (+v),
// output options (o), and print the names of all source and header files (f).
-w4 // Set warning level (0-4)
//-w0 No messages (except for fatal errors)
//-w1 Error messages only
//-w2 Error and Warning messages only
//-w3 Error, Warning and Informational messages (this is the default)
//-w4 All messages
-os(cmd911x-Lnt.txt) // output file for linting
// 32-bit compiler environment definitions
-si4 -spN4 -spF4 // 4-byte int, 4-byte near ptr, 4-byte far ptr
-dUSING_LINT
-dCMD911X
//=============================================================
// Project-specific suppressions.
//=============================================================
-e526 //WARNING: function not defined
-e527 //WARNING: Unreachable
-e534 //WARNING: Ignoring return value of function
-e571 //WARNING: Suspicious cast
-e740 //INFO: Unusual pointer cast (incompatible indirect types)
-e756 //INFO: global typedef not referenced
-e801 //INFO: Use of goto is deprecated
-e818 //INFO: Pointer to parameter could be declared as pointing to const
-e911 //NOTE: Implicit expression promotion from unsigned short to int
-e912 //NOTE: Implicit binary conversion from int to unsigned int
-e915 //NOTE: Implicit conversion (assignment) unsigned int to unsigned short
-e917 //NOTE: Prototype coercion
-e921 //NOTE: cast from unsigned long to unsigned long
-e925 //NOTE: cast from pointer to pointer
-e928 //NOTE: cast from pointer to pointer
-e929 //NOTE: cast from pointer to pointer
-e935 //NOTE: int within struct
-e936 //NOTE: old-style function definition for function 'main'
-e952 //NOTE: Parameter could be declared as const
-e953 //NOTE: Variable could be declared as const
-e956 //NOTE: Non const, non volatile static or external variable
-e958 //NOTE: Padding of X byte(s) is required to align member on 4 byte boundary
-e960 //NOTE: Violates MISRA Required Rule
-e961 //NOTE: Violates MISRA Advisory Rule 44, redundant explicit casting
-e970 //NOTE: Use of modifier or type outside of a typedef
-e971 //NOTE: Use of 'char' without 'signed' or 'unsigned'
-e1916 //NOTE: ellipsis encountered
//=============================================================
// Project source files:
//=============================================================
cmd911x.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -