📄 smsc911x-x.lnt
字号:
//////////////////////////////////////////////////////////////////////
// //
// File: smsc911x-X.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(smsc911x-X-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
-dUSE_XSCALE
//=============================================================
// Project-specific suppressions.
//=============================================================
-e526 //WARNING: function not defined
-e528 //WARNING: Symbol not referenced
-e714 //INFO: Symbol not referenced
-e717 //INFO: do ... while(0);
-e730 //INFO: Boolean argument to function
-e740 //INFO: Unusual pointer cast (incompatible indirect types)
-e750 //INFO: local macro not referenced
-e755 //INFO: global macro not referenced
-e756 //INFO: global typedef not referenced
-e768 //INFO: global struct member not referenced
-e801 //INFO: Use of goto is deprecated
-e818 //INFO: Pointer to parameter could be declared as pointing to const
-e826 //INFO: Suspicious pointer-to-pointer conversion
-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
-e923 //NOTE: cast from unsigned long to pointer
-e925 //NOTE: cast from pointer to pointer
-e927 //NOTE: cast from pointer to pointer
-e929 //NOTE: cast from pointer to pointer
-e935 //NOTE: int within struct
-e941 //NOTE: Result 0 due to operands equaling 0 in operation
-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
-e959 //NOTE: Nominal struct size is not an even multiple of the maximum member alignment (4 bytes)
-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:
//=============================================================
smsc911x.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -