10 More Discussions You Might Find Interesting
1. Programming
This is a strange problem that I can't figure out - I run lint on my C programs to weed out unused variables. The output can be quite large, so I use sed to cut out just unused variables section. The typical command looks like this:
lint -I /usr/local/include -I./include -m hn.c
As my... (3 Replies)
Discussion started by: migurus
3 Replies
2. Shell Programming and Scripting
the thread is deleted (1 Reply)
Discussion started by: jhon1257
1 Replies
3. UNIX for Advanced & Expert Users
Hi All,
Can any one help me in how to run "lint command " on .c files to list all functions with wrong return value in hp unix.
Thanks in Advance. (1 Reply)
Discussion started by: jhon1257
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have read from the book that , <> causes the file to be used as both input as well as output. Can anyone give me the scenario where <> will be useful?
Thanks (10 Replies)
Discussion started by: pandeesh
10 Replies
5. UNIX for Advanced & Expert Users
Hi All
Can anybody tell me what is the purpose of inv in the below command.
ftp -inv $RFTPSERVER /temp/te.txt << EOF
and << its stands for what..
Thanks (1 Reply)
Discussion started by: raju4u
1 Replies
6. AIX
Hi ,
I Want to apply AIX lint to my source code which all are *.cpp/*.h
>lint test.cpp
lint: 1286-332 File test.cpp must have a .c, .C or .ln extension. It is ignored.
lint: 1286-334 There are no files to process.
I am getting above error.
-Ashok (3 Replies)
Discussion started by: ashokd001
3 Replies
7. Shell Programming and Scripting
I often find myself running lint in the following fashion:
lint -Idir-1 ... -Idir-n some-src.c
where a number of -Idirs should be coming from the make file.
Here is example:
$ cd dir1
$ grep ^CF makefile
CFLAGS = -g -I ../ver1/include
$ lint -I ../ver1/include sr1.c
... (0 Replies)
Discussion started by: migurus
0 Replies
8. Programming
Hi
can anyone help me regarding the meaning of the following lint messages.
what is the use of having such lint comments in the c program.
/*lint -esym(534,cputs,fgets,cprintf) */
/*lint -efile(766,pragmas.h) */
Thanks a lot in advance. (5 Replies)
Discussion started by: axes
5 Replies
9. Slackware
I have a distant history with Dos based systems so I'm not overwhelmed, but my Unix experience is entirely limited to hacking my Tivo.
So I'm kindly requesting a pointer in the right direction specifically asking which Linux would best suit my needs...
What I want to do
I wish to use an old... (13 Replies)
Discussion started by: Mark Ward
13 Replies
10. Programming
how can i check my code with lint? What if the code containes multiple module? The check is been done on each module separately?
What is the command to use the lint
Any relevant site???
Thanks a lot. You are doing a great job.:cool: (2 Replies)
Discussion started by: amatsaka
2 Replies