I am using uVision2 version 2.37 and pc-lint version 8.00o.
I have included the co-kc51.lnt and env-keil.lnt in the setup, as well as the pertinent include file paths.
All I get is PC-Lint running and the header. I have checked to make sure that the env-keil.lnt contains the right info.
I'm at a loss.
If I try to run if from a batch file, it seems to run but can find the ansi standard header files and they are not in the Keil directory
Any ideas would be welcome
I don't know that I can help you much here, since I usually run lint from my editor and not the Keil IDE.
I did hop into uVision (v2.32) and tried it. I did "Setup PC-Lint", added the c:\lint\lnt directory in the top box, pointed it to the executable, and added my project lint file (above) as the "configuration file". So when I do "Lint all C Source Files", I get the same result. I see the PC-Lint banner in the Build window, and nothing else.
So we presumably both are missing a configuration step.
My suspicion is that it's a piping issue.
Something is wrong with the env-keil.lnt and it doesn't pipe to the Output window.
It looks pretty intimidating but I guess I'll have to try to get into it.
I appreciate your help and the independent verification that it doesn't work on someone else's Keil IDE makes me stop looking for my own errors and look into the configuration.
With the help of Keil, I got PC-Lint working from the tools menu.
the command will not accept
only small caps allowed
I had to remove all include files except
and I could use only 1 *.lnt file configurstion file. I had to combine them all into one.
forget the env-keil.lnt. It's not needed
So, duplicating your parameters which work in the batch mode won't work unless you do the above
I use all caps in my PC-Lint setup and it works OK. I include:
I had the same problem as you reported originally. But I was using (someone else's) custom *.lnt that used +os to redirect the output from the Keil Build window into a file.
Check out http://quest.phaedsys.org/ for tips on hitex/Keil/8051s.