NetBSD 6.1.5 - man page for lint (netbsd section 7)

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

LINT(7) 		       BSD Miscellaneous Information Manual			  LINT(7)

     lint -- Lint error message list

     The following is a list of message id's and messages produced by lint(1).	It is intended to
     be used with -X flag of lint(1).

	   0	   syntax error: empty declaration
	   1	   old style declaration; add int
	   2	   empty declaration
	   3	   %s declared in argument declaration list
	   4	   illegal type combination
	   5	   modifying typedef with '%s'; only qualifiers allowed
	   6	   use 'double' instead of 'long float'
	   7	   only one storage class allowed
	   8	   illegal storage class
	   9	   only register valid as formal parameter storage class
	   10	   duplicate '%s'
	   11	   bit-field initializer out of range
	   12	   compiler takes size of function
	   13	   incomplete enum type: %s
	   14	   compiler takes alignment of function
	   15	   function returns illegal type
	   16	   array of function is illegal
	   17	   null dimension
	   18	   illegal use of 'void'
	   19	   void type for %s
	   20	   negative array dimension (%d)
	   21	   redeclaration of formal parameter %s
	   22	   incomplete or misplaced function definition
	   23	   undefined label %s
	   24	   cannot initialize function: %s
	   25	   cannot initialize typedef: %s
	   26	   cannot initialize extern declaration: %s
	   27	   redeclaration of %s
	   28	   redefinition of %s
	   29	   previously declared extern, becomes static: %s
	   30	   redeclaration of %s; ANSI C requires static
	   31	   incomplete structure or union %s: %s
	   32	   argument type defaults to 'int': %s
	   33	   duplicate member name: %s
	   34	   nonportable bit-field type
	   35	   illegal bit-field type
	   36	   illegal bit-field size
	   37	   zero size bit-field
	   38	   function illegal in structure or union
	   39	   zero sized array in struct is a C99 extension: %s
	   40	   unknown size: %s
	   41	   illegal use of bit-field
	   42	   forward reference to enum type
	   43	   redefinition hides earlier one: %s
	   44	   declaration introduces new type in ANSI C: %s %s
	   45	   base type is really '%s %s'
	   46	   (%s) tag redeclared
	   47	   zero sized %s is a C9X feature
	   48	   overflow in enumeration values: %s
	   49	   struct or union member must be named
	   50	   a function is declared as an argument: %s
	   51	   parameter mismatch: %d declared, %d defined
	   52	   cannot initialize parameter: %s
	   53	   declared argument %s is missing
	   54	   trailing ',' prohibited in enum declaration
	   55	   integral constant expression expected
	   56	   integral constant too large
	   57	   enumeration constant hides parameter: %s
	   58	   type does not match prototype: %s
	   59	   formal parameter lacks name: param #%d
	   60	   void must be sole parameter
	   61	   void parameter cannot have name: %s
	   62	   function prototype parameters must have types
	   63	   prototype does not match old-style definition
	   64	   ()-less function definition
	   65	   %s has no named members
	   66	   syntax requires ';' after last struct/union member
	   67	   cannot return incomplete type
	   68	   typedef already qualified with '%s'
	   69	   inappropriate qualifiers with 'void'
	   70	   %soperand of '%s' is unsigned in ANSI C
	   71	   too many characters in character constant
	   72	   typedef declares no type name
	   73	   empty character constant
	   74	   no hex digits follow \x
	   75	   overflow in hex escape
	   76	   character escape does not fit in character
	   77	   bad octal digit %c
	   78	   nonportable character escape
	   79	   dubious escape \%c
	   80	   dubious escape \%o
	   81	   \a undefined in traditional C
	   82	   \x undefined in traditional C
	   83	   storage class after type is obsolescent
	   84	   ANSI C requires formal parameter before '...'
	   85	   dubious tag declaration: %s %s
	   86	   automatic hides external declaration: %s
	   87	   static hides external declaration: %s
	   88	   typedef hides external declaration: %s
	   89	   typedef redeclared: %s
	   90	   inconsistent redeclaration of extern: %s
	   91	   declaration hides parameter: %s
	   92	   inconsistent redeclaration of static: %s
	   93	   dubious static function at block level: %s
	   94	   function has illegal storage class: %s
	   95	   declaration hides earlier one: %s
	   96	   cannot dereference non-pointer type
	   97	   suffix U is illegal in traditional C
	   98	   suffixes F and L are illegal in traditional C
	   99	   %s undefined
	   100	   unary + is illegal in traditional C
	   101	   undefined struct/union member: %s
	   102	   illegal member use: %s
	   103	   left operand of '.' must be struct/union object
	   104	   left operand of '->' must be pointer to struct/union
	   105	   non-unique member requires struct/union %s
	   106	   left operand of '->' must be pointer
	   107	   operands of '%s' have incompatible types (%s != %s)
	   108	   operand of '%s' has incompatible type (%s != %s)
	   109	   void type illegal in expression
	   110	   pointer to function is not allowed here
	   111	   unacceptable operand of '%s'
	   112	   cannot take address of bit-field
	   113	   cannot take address of register %s
	   114	   %soperand of '%s' must be lvalue
	   115	   %soperand of '%s' must be modifiable lvalue
	   116	   illegal pointer subtraction
	   117	   bitwise operation on signed value possibly nonportable
	   118	   semantics of '%s' change in ANSI C; use explicit cast
	   119	   conversion of '%s' to '%s' is out of range
	   120	   bitwise operation on signed value nonportable
	   121	   negative shift
	   122	   shift greater than size of object
	   123	   illegal combination of pointer and integer, op %s
	   124	   illegal pointer combination, op %s
	   125	   ANSI C forbids ordered comparisons of pointers to functions
	   126	   incompatible types in conditional
	   127	   '&' before array or function: ignored
	   128	   operands have incompatible pointer types, op %s (%s != %s)
	   129	   expression has null effect
	   130	   enum type mismatch, op %s
	   131	   conversion to '%s' may sign-extend incorrectly
	   132	   conversion from '%s' to '%s' may lose accuracy
	   133	   conversion of pointer to '%s' loses bits
	   134	   conversion of pointer to '%s' may lose bits
	   135	   possible pointer alignment problem
	   136	   cannot do pointer arithmetic on operand of unknown size
	   137	   use of incomplete enum type, op %s
	   138	   unknown operand size, op %s
	   139	   division by 0
	   140	   modulus by 0
	   141	   integer overflow detected, op %s
	   142	   floating point overflow detected, op %s
	   143	   cannot take size/alignment of incomplete type
	   144	   cannot take size/alignment of function
	   145	   cannot take size/alignment of bit-field
	   146	   cannot take size/alignment of void
	   147	   invalid cast expression
	   148	   improper cast of void expression
	   149	   illegal function
	   150	   argument mismatch: %d arg%s passed, %d expected
	   151	   void expressions may not be arguments, arg #%d
	   152	   argument cannot have unknown size, arg #%d
	   153	   argument has incompatible pointer type, arg #%d (%s != %s)
	   154	   illegal combination of pointer and integer, arg #%d
	   155	   argument is incompatible with prototype, arg #%d
	   156	   enum type mismatch, arg #%d
	   157	   ANSI C treats constant as unsigned
	   158	   %s may be used before set
	   159	   assignment in conditional context
	   160	   operator '==' found where '=' was expected
	   161	   constant in conditional context
	   162	   comparison of %s with %s, op %s
	   163	   a cast does not yield an lvalue
	   164	   assignment of negative constant to unsigned type
	   165	   constant truncated by assignment
	   166	   precision lost in bit-field assignment
	   167	   array subscript cannot be negative: %ld
	   168	   array subscript cannot be > %d: %ld
	   169	   precedence confusion possible: parenthesize!
	   170	   first operand must have scalar type, op?:
	   171	   assignment type mismatch (%s != %s)
	   172	   too many struct/union initializers
	   173	   too many array initializers, expected %d
	   174	   too many initializers
	   175	   initialisation of an incomplete type
	   176	   invalid initializer type %s
	   177	   non-constant initializer
	   178	   initializer does not fit
	   179	   cannot initialize struct/union with no named member
	   180	   bit-field initializer does not fit
	   181	   {}-enclosed initializer required
	   182	   incompatible pointer types (%s != %s)
	   183	   illegal combination of pointer and integer
	   184	   illegal pointer combination
	   185	   initialisation type mismatch
	   186	   bit-field initialisation is illegal in traditional C
	   187	   non-null byte ignored in string initializer
	   188	   no automatic aggregate initialization in traditional C
	   189	   assignment of struct/union illegal in traditional C
	   190	   empty array declaration: %s
	   191	   %s set but not used in function %s
	   192	   %s unused in function %s
	   193	   statement not reached
	   194	   label %s redefined
	   195	   case not in switch
	   196	   case label affected by conversion
	   197	   non-constant case expression
	   198	   non-integral case expression
	   199	   duplicate case in switch: %ld
	   200	   duplicate case in switch: %lu
	   201	   default outside switch
	   202	   duplicate default in switch
	   203	   case label must be of type `int' in traditional C
	   204	   controlling expressions must have scalar type
	   205	   switch expression must have integral type
	   206	   enumeration value(s) not handled in switch
	   207	   loop not entered at top
	   208	   break outside loop or switch
	   209	   continue outside loop
	   210	   enum type mismatch in initialisation
	   211	   return value type mismatch
	   212	   cannot return incomplete type
	   213	   void function %s cannot return value
	   214	   function %s expects to return value
	   215	   function implicitly declared to return int
	   216	   function %s has return (e); and return;
	   217	   function %s falls off bottom without returning value
	   218	   ANSI C treats constant as unsigned, op %s
	   219	   concatenated strings are illegal in traditional C
	   220	   fallthrough on case statement
	   221	   initialisation of unsigned with negative constant
	   222	   conversion of negative constant to unsigned type
	   223	   end-of-loop code not reached
	   224	   cannot recover from previous errors
	   225	   static function called but not defined: %s()
	   226	   static variable %s unused
	   227	   const object %s should have initializer
	   228	   function cannot return const or volatile object
	   229	   questionable conversion of function pointer
	   230	   nonportable character comparison, op %s
	   231	   argument %s unused in function %s
	   232	   label %s unused in function %s
	   233	   struct %s never defined
	   234	   union %s never defined
	   235	   enum %s never defined
	   236	   static function %s unused
	   237	   redeclaration of formal parameter %s
	   238	   initialisation of union is illegal in traditional C
	   239	   constant argument to NOT
	   240	   assignment of different structures (%s != %s)
	   241	   dubious operation on enum, op %s
	   242	   combination of '%s' and '%s', op %s
	   243	   dubious comparison of enums, op %s
	   244	   illegal structure pointer combination
	   245	   illegal structure pointer combination, op %s
	   246	   dubious conversion of enum to '%s'
	   247	   pointer casts may be troublesome
	   248	   floating-point constant out of range
	   249	   syntax error '%s'
	   250	   unknown character \%o
	   251	   malformed integer constant
	   252	   integer constant out of range
	   253	   unterminated character constant
	   254	   newline in string or char constant
	   255	   undefined or invalid # directive
	   256	   unterminated comment
	   257	   extra characters in lint comment
	   258	   unterminated string constant
	   259	   conversion to '%s' due to prototype, arg #%d
	   260	   previous declaration of %s
	   261	   previous definition of %s
	   262	   \" inside character constants undefined in traditional C
	   263	   \? undefined in traditional C
	   264	   \v undefined in traditional C
	   265	   %s C does not support 'long long'
	   266	   'long double' is illegal in traditional C
	   267	   shift equal to size of object
	   268	   variable declared inline: %s
	   269	   argument declared inline: %s
	   270	   function prototypes are illegal in traditional C
	   271	   switch expression must be of type `int' in traditional C
	   272	   empty translation unit
	   273	   bit-field type '%s' invalid in ANSI C
	   274	   ANSI C forbids comparison of %s with %s
	   275	   cast discards 'const' from pointer target type
	   276	   __%s__ is illegal for type %s
	   277	   initialisation of '%s' with '%s'
	   278	   combination of '%s' and '%s', arg #%d
	   279	   combination of '%s' and '%s' in return
	   280	   must be outside function: /* %s */
	   281	   duplicate use of /* %s */
	   282	   must precede function definition: /* %s */
	   283	   argument number mismatch with directive: /* %s */
	   284	   fallthrough on default statement
	   285	   prototype declaration
	   286	   function definition is not a prototype
	   287	   function declaration is not a prototype
	   288	   dubious use of /* VARARGS */ with /* %s */
	   289	   can't be used together: /* PRINTFLIKE */ /* SCANFLIKE */
	   290	   static function %s declared but not defined
	   291	   invalid multibyte character
	   292	   cannot concatenate wide and regular string literals
	   293	   argument %d must be 'char *' for PRINTFLIKE/SCANFLIKE
	   294	   multi-character character constant
	   295	   conversion of '%s' to '%s' is out of range, arg #%d
	   296	   conversion of negative constant to unsigned type, arg #%d
	   297	   conversion to '%s' may sign-extend incorrectly, arg #%d
	   298	   conversion from '%s' to '%s' may lose accuracy, arg #%d
	   299	   prototype does not match old style definition, arg #%d
	   300	   old style definition
	   301	   array of incomplete type
	   302	   %s returns pointer to automatic object
	   303	   ANSI C forbids conversion of %s to %s
	   304	   ANSI C forbids conversion of %s to %s, arg #%d
	   305	   ANSI C forbids conversion of %s to %s, op %s
	   306	   constant truncated by conversion, op %s
	   307	   static variable %s set but not used
	   308	   Invalid type %s for _Complex
	   309	   extra bits set to 0 in conversion of '%s' to '%s', op %s
	   310	   symbol renaming can't be used on function arguments
	   311	   symbol renaming can't be used on automatic variables
	   312	   %s C does not support // comments
	   313	   struct or union member name in initializer is a C9X feature
	   314	   %s is not a structure or a union
	   315	   GCC style struct or union member name in initializer
	   316	   __FUNCTION__ is a GCC extension
	   317	   __func__ is a C9X feature
	   318	   variable array dimension is a C99/GCC extension
	   319	   compound literals are a C9X/GCC extension
	   320	   ({ }) is a GCC extension
	   321	   array initializer with designators is a C9X feature
	   322	   zero sized array is a C99 extension
	   323	   continue in 'do ... while (0)' loop
	   324	   suggest cast from '%s' to '%s' on op %s to avoid overflow
	   325	   variable declaration in for loop
	   326	   %s attribute ignored for %s
	   327	   declarations after statements is a C9X feature

BSD					   July 5, 2000 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 04:03 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?