* Lint on osf1
@ 1995-07-12 4:00 David Hinz
0 siblings, 0 replies; only message in thread
From: David Hinz @ 1995-07-12 4:00 UTC (permalink / raw)
When using lint on DEC OSF/1 how do you handle all of the errors/warnings
generated from the standard include files? The code compiles correctly, but
lint thinks there are major problems with the include files. Are the standard
include files not ANSI compatible??!!?? I doubt that.
Any clues on better ways to use lint?
Below is the output from lint on one of my C files.
Thanks,
David Hinz.
lint -MA -I./inc ./src/tester.c
"siginfo.h", line 66 ("parser.c"): error: syntax error
"siginfo.h", line 66 ("parser.c"): error: structure members must be terminated
by ';'
"siginfo.h", line 71 ("parser.c"): error: zero sized structure
"siginfo.h", line 93 ("parser.c"): error: syntax error
"siginfo.h", line 93 ("parser.c"): error: structure members must be terminated
by ';'
"siginfo.h", line 94 ("parser.c"): error: zero sized structure
"siginfo.h", line 112 ("parser.c"): error: syntax error
"siginfo.h", line 112 ("parser.c"): error: declaration must have explicit type
specifiers
"siginfo.h", line 113 ("parser.c"): error: declaration must have explicit type
specifiers
"signal.h", line 154 ("parser.c"): error: syntax error
"signal.h", line 154 ("parser.c"): error: structure members must be terminated
by ';'
"signal.h", line 161 ("parser.c"): error: basic type cannot mix with
struct/union/enum/typedef
"signal.h", line 288 ("parser.c"): error: syntax error
"signal.h", line 301 ("parser.c"): error: declaration is missing declarator
"signal.h", line 312 ("parser.c"): warning: old style argument declaration
"signal.h", line 312 ("parser.c"): error: syntax error
"signal.h", line 312 ("parser.c"): error: arg list in declaration
"signal.h", line 381 ("parser.c"): error: declaration is missing declarator
"signal.h", line 387 ("parser.c"): error: syntax error
"signal.h", line 387 ("parser.c"): error: structure members must be terminated
by ';'
"signal.h", line 390 ("parser.c"): error: zero sized structure
"procset.h", line 89 ("parser.c"): error: syntax error
"procset.h", line 89 ("parser.c"): error: structure members must be terminated
by ';'
"procset.h", line 93 ("parser.c"): error: illegal type specifier combination
"signal.h", line 497 ("parser.c"): error: syntax error
"signal.h", line 499 ("parser.c"): error: illegal class
"signal.h", line 500 ("parser.c"): error: illegal class
"timers.h", line 118 ("parser.c"): error: declaration is missing declarator
"timers.h", line 188 ("parser.c"): error: illegal class
"timers.h", line 189 ("parser.c"): error: illegal class
"timers.h", line 190 ("parser.c"): error: illegal class
"timers.h", line 191 ("parser.c"): error: illegal class
"timers.h", line 196 ("parser.c"): error: syntax error
"timers.h", line 196 ("parser.c"): error: illegal class
"timers.h", line 196 ("parser.c"): warning: timer_created undefined
"timers.h", line 196 ("parser.c"): warning: timer_t undefined
"timers.h", line 198 ("parser.c"): warning: old style argument declaration
"timers.h", line 198 ("parser.c"): error: syntax error
"timers.h", line 198 ("parser.c"): error: illegal class
"timers.h", line 198 ("parser.c"): warning: timerid undefined
"timers.h", line 198 ("parser.c"): error: arg list in declaration
"timers.h", line 199 ("parser.c"): warning: old style argument declaration
"timers.h", line 199 ("parser.c"): error: syntax error
"timers.h", line 199 ("parser.c"): error: illegal class
"timers.h", line 199 ("parser.c"): warning: value undefined
"timers.h", line 199 ("parser.c"): warning: timerid undefined
"timers.h", line 199 ("parser.c"): error: arg list in declaration
"timers.h", line 200 ("parser.c"): warning: old style argument declaration
"timers.h", line 200 ("parser.c"): error: syntax error
"timers.h", line 201 ("parser.c"): error: illegal class
"timers.h", line 201 ("parser.c"): warning: ovalue undefined
"timers.h", line 201 ("parser.c"): warning: flags undefined
"timers.h", line 201 ("parser.c"): warning: value undefined
"timers.h", line 201 ("parser.c"): warning: timerid undefined
"timers.h", line 201 ("parser.c"): error: arg list in declaration
"timers.h", line 202 ("parser.c"): warning: old style argument declaration
"timers.h", line 202 ("parser.c"): error: syntax error
"timers.h", line 202 ("parser.c"): error: illegal class
"timers.h", line 202 ("parser.c"): warning: timerid undefined
"timers.h", line 202 ("parser.c"): error: arg list in declaration
"timers.h", line 203 ("parser.c"): error: illegal class
"timers.h", line 214 ("parser.c"): error: illegal class
"sched.h", line 69 ("parser.c"): error: declaration is missing declarator
"sched.h", line 115 ("parser.c"): warning: old style argument declaration
"sched.h", line 115 ("parser.c"): error: syntax error
"sched.h", line 115 ("parser.c"): error: illegal class
"sched.h", line 115 ("parser.c"): warning: pid undefined
"sched.h", line 115 ("parser.c"): warning: param undefined
"sched.h", line 115 ("parser.c"): error: arg list in declaration
"sched.h", line 116 ("parser.c"): warning: old style argument declaration
"sched.h", line 116 ("parser.c"): error: syntax error
"sched.h", line 116 ("parser.c"): error: illegal class
"sched.h", line 116 ("parser.c"): warning: pid undefined
"sched.h", line 116 ("parser.c"): warning: param undefined
"sched.h", line 116 ("parser.c"): error: arg list in declaration
"sched.h", line 117 ("parser.c"): warning: old style argument declaration
"sched.h", line 117 ("parser.c"): error: syntax error
"sched.h", line 117 ("parser.c"): error: illegal class
"sched.h", line 117 ("parser.c"): warning: pid undefined
"sched.h", line 117 ("parser.c"): warning: policy undefined
"sched.h", line 117 ("parser.c"): warning: param undefined
"sched.h", line 117 ("parser.c"): error: arg list in declaration
"sched.h", line 118 ("parser.c"): warning: old style argument declaration
"sched.h", line 118 ("parser.c"): error: syntax error
"/usr/include/sched.h", line 118: lint error: too many errors
*** Exit 2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-07-12 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-12 4:00 Lint on osf1 David Hinz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox